public class BusConditionImpl extends BusRefImpl implements BusCondition
The following features are implemented:
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplorg.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList| Modifier and Type | Field and Description |
|---|---|
protected static CAViolationType |
CONDITION_TYPE_EDEFAULT
The default value of the '
Condition Type' attribute. |
protected CAViolationType |
conditionType
The cached value of the '
Condition Type' attribute. |
busdesc, DESC_EDEFAULT, id, ID_EDEFAULT, name, NAME_EDEFAULT, number, NUMBER_EDEFAULT, status, STATUS_CHANGE_INFO_EDEFAULT, STATUS_EDEFAULT, statusChangeInfoeAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY| Modifier | Constructor and Description |
|---|---|
protected |
BusConditionImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetParent(BusActionRule newParent,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
boolean |
evaluate(double vUpperLimitPU,
double vLowerLimitPU) |
CAViolationType |
getConditionType() |
BusActionRule |
getParent() |
void |
setBus(Bus bus) |
void |
setConditionType(CAViolationType newConditionType) |
void |
setParent(BusActionRule newParent) |
java.lang.String |
toString() |
getBus, readData, setBaseVoltage, writeDatacheckData, checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, jsonCopy, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfoeAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValueseBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBus, setBaseVoltagecheckData, checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, jsonCopy, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfoeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliverprotected static final CAViolationType CONDITION_TYPE_EDEFAULT
Condition Type' attribute.
getConditionType()protected CAViolationType conditionType
Condition Type' attribute.
getConditionType()public void setBus(Bus bus)
BusRefImplsetBus in interface BusRefsetBus in class BusRefImplbus - the new value of the 'Bus' reference.BusRef.getBus()protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class BusRefImplpublic BusActionRule getParent()
getParent in interface BusConditionBusCondition.setParent(BusActionRule),
MCaseRulePackage.getBusCondition_Parent(),
BusActionRule.getBusCondition()public org.eclipse.emf.common.notify.NotificationChain basicSetParent(BusActionRule newParent, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setParent(BusActionRule newParent)
setParent in interface BusConditionnewParent - the new value of the 'Parent' container reference.BusCondition.getParent()public CAViolationType getConditionType()
getConditionType in interface BusConditionCAViolationType,
BusCondition.setConditionType(CAViolationType),
MCaseRulePackage.getBusCondition_ConditionType()public void setConditionType(CAViolationType newConditionType)
setConditionType in interface BusConditionnewConditionType - the new value of the 'Condition Type' attribute.CAViolationType,
BusCondition.getConditionType()public boolean evaluate(double vUpperLimitPU,
double vLowerLimitPU)
evaluate in interface BusConditionpublic org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
eBasicRemoveFromContainerFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class BusRefImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class BusRefImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class BusRefImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class BusRefImplpublic java.lang.String toString()
toString in class NameTagImpl