public class NBSwitchImpl extends NameTagImpl implements NBSwitch
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 NBNode |
fromNBNode
The cached value of the '
From NB Node' reference. |
protected static java.lang.String |
NAME_RATING_EDEFAULT
The default value of the '
Name Rating' attribute. |
protected java.lang.String |
nameRating
The cached value of the '
Name Rating' attribute. |
protected static int |
NORMAL_STATUS_EDEFAULT
The default value of the '
Normal Status' attribute. |
protected int |
normalStatus
The cached value of the '
Normal Status' attribute. |
protected Substation |
substation
The cached value of the '
Substation' reference. |
protected static NBModelSwitchType |
SWITCH_TYPE_EDEFAULT
The default value of the '
Switch Type' attribute. |
protected NBModelSwitchType |
switchType
The cached value of the '
Switch Type' attribute. |
protected NBNode |
toNBNode
The cached value of the '
To NB Node' reference. |
protected double |
xpu
The cached value of the '
Xpu' attribute. |
protected static double |
XPU_EDEFAULT
The default value of the '
Xpu' attribute. |
desc, 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 |
NBSwitchImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetSubstation(Substation newSubstation,
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) |
NBNode |
getFromNBNode() |
java.lang.String |
getNameRating() |
int |
getNormalStatus() |
Substation |
getSubstation() |
NBModelSwitchType |
getSwitchType() |
NBNode |
getToNBNode() |
double |
getXpu() |
void |
setFromNBNode(NBNode newFromNBNode) |
void |
setNameRating(java.lang.String newNameRating) |
void |
setNormalStatus(int newNormalStatus) |
void |
setSubstation(Substation newSubstation) |
void |
setSwitchType(NBModelSwitchType newSwitchType) |
void |
setToNBNode(NBNode newToNBNode) |
void |
setXpu(double newXpu) |
java.lang.String |
toString() |
checkData, checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, jsonCopy, readData, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfo, writeDataeAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, 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, waitcheckData, 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 Substation substation
Substation' reference.
getSubstation()protected NBNode fromNBNode
From NB Node' reference.
getFromNBNode()protected NBNode toNBNode
To NB Node' reference.
getToNBNode()protected static final NBModelSwitchType SWITCH_TYPE_EDEFAULT
Switch Type' attribute.
getSwitchType()protected NBModelSwitchType switchType
Switch Type' attribute.
getSwitchType()protected static final int NORMAL_STATUS_EDEFAULT
Normal Status' attribute.
getNormalStatus(),
Constant Field Valuesprotected int normalStatus
Normal Status' attribute.
getNormalStatus()protected static final double XPU_EDEFAULT
Xpu' attribute.
getXpu(),
Constant Field Valuesprotected static final java.lang.String NAME_RATING_EDEFAULT
Name Rating' attribute.
getNameRating(),
Constant Field Valuesprotected java.lang.String nameRating
Name Rating' attribute.
getNameRating()protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class NameTagImplpublic Substation getSubstation()
getSubstation in interface NBSwitchNBSwitch.setSubstation(Substation),
NBModelPackage.getNBSwitch_Substation(),
Substation.getNbSwitchList()public org.eclipse.emf.common.notify.NotificationChain basicSetSubstation(Substation newSubstation, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setSubstation(Substation newSubstation)
setSubstation in interface NBSwitchnewSubstation - the new value of the 'Substation' reference.NBSwitch.getSubstation()public NBNode getFromNBNode()
getFromNBNode in interface NBSwitchNBSwitch.setFromNBNode(NBNode),
NBModelPackage.getNBSwitch_FromNBNode()public void setFromNBNode(NBNode newFromNBNode)
setFromNBNode in interface NBSwitchnewFromNBNode - the new value of the 'From NB Node' reference.NBSwitch.getFromNBNode()public NBNode getToNBNode()
getToNBNode in interface NBSwitchNBSwitch.setToNBNode(NBNode),
NBModelPackage.getNBSwitch_ToNBNode()public void setToNBNode(NBNode newToNBNode)
setToNBNode in interface NBSwitchnewToNBNode - the new value of the 'To NB Node' reference.NBSwitch.getToNBNode()public NBModelSwitchType getSwitchType()
getSwitchType in interface NBSwitchNBModelSwitchType,
NBSwitch.setSwitchType(NBModelSwitchType),
NBModelPackage.getNBSwitch_SwitchType()public void setSwitchType(NBModelSwitchType newSwitchType)
setSwitchType in interface NBSwitchnewSwitchType - the new value of the 'Switch Type' attribute.NBModelSwitchType,
NBSwitch.getSwitchType()public int getNormalStatus()
getNormalStatus in interface NBSwitchNBSwitch.setNormalStatus(int),
NBModelPackage.getNBSwitch_NormalStatus()public void setNormalStatus(int newNormalStatus)
setNormalStatus in interface NBSwitchnewNormalStatus - the new value of the 'Normal Status' attribute.NBSwitch.getNormalStatus()public double getXpu()
getXpu in interface NBSwitchNBSwitch.setXpu(double),
NBModelPackage.getNBSwitch_Xpu()public void setXpu(double newXpu)
setXpu in interface NBSwitchnewXpu - the new value of the 'Xpu' attribute.NBSwitch.getXpu()public java.lang.String getNameRating()
getNameRating in interface NBSwitchNBSwitch.setNameRating(String),
NBModelPackage.getNBSwitch_NameRating()public void setNameRating(java.lang.String newNameRating)
setNameRating in interface NBSwitchnewNameRating - the new value of the 'Name Rating' attribute.NBSwitch.getNameRating()public 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 java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class NameTagImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class NameTagImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class NameTagImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class NameTagImplpublic java.lang.String toString()
toString in class NameTagImpl