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.EPropertiesHolderImpl
org.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, statusChangeInfo
eAdapters, 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, writeData
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, 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, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkData, checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, jsonCopy, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfo
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
protected 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 NameTagImpl
public Substation getSubstation()
getSubstation
in interface NBSwitch
NBSwitch.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 NBSwitch
newSubstation
- the new value of the 'Substation' reference.NBSwitch.getSubstation()
public NBNode getFromNBNode()
getFromNBNode
in interface NBSwitch
NBSwitch.setFromNBNode(NBNode)
,
NBModelPackage.getNBSwitch_FromNBNode()
public void setFromNBNode(NBNode newFromNBNode)
setFromNBNode
in interface NBSwitch
newFromNBNode
- the new value of the 'From NB Node' reference.NBSwitch.getFromNBNode()
public NBNode getToNBNode()
getToNBNode
in interface NBSwitch
NBSwitch.setToNBNode(NBNode)
,
NBModelPackage.getNBSwitch_ToNBNode()
public void setToNBNode(NBNode newToNBNode)
setToNBNode
in interface NBSwitch
newToNBNode
- the new value of the 'To NB Node' reference.NBSwitch.getToNBNode()
public NBModelSwitchType getSwitchType()
getSwitchType
in interface NBSwitch
NBModelSwitchType
,
NBSwitch.setSwitchType(NBModelSwitchType)
,
NBModelPackage.getNBSwitch_SwitchType()
public void setSwitchType(NBModelSwitchType newSwitchType)
setSwitchType
in interface NBSwitch
newSwitchType
- the new value of the 'Switch Type' attribute.NBModelSwitchType
,
NBSwitch.getSwitchType()
public int getNormalStatus()
getNormalStatus
in interface NBSwitch
NBSwitch.setNormalStatus(int)
,
NBModelPackage.getNBSwitch_NormalStatus()
public void setNormalStatus(int newNormalStatus)
setNormalStatus
in interface NBSwitch
newNormalStatus
- the new value of the 'Normal Status' attribute.NBSwitch.getNormalStatus()
public double getXpu()
getXpu
in interface NBSwitch
NBSwitch.setXpu(double)
,
NBModelPackage.getNBSwitch_Xpu()
public void setXpu(double newXpu)
setXpu
in interface NBSwitch
newXpu
- the new value of the 'Xpu' attribute.NBSwitch.getXpu()
public java.lang.String getNameRating()
getNameRating
in interface NBSwitch
NBSwitch.setNameRating(String)
,
NBModelPackage.getNBSwitch_NameRating()
public void setNameRating(java.lang.String newNameRating)
setNameRating
in interface NBSwitch
newNameRating
- 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.BasicEObjectImpl
public 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.BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class NameTagImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class NameTagImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class NameTagImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class NameTagImpl
public java.lang.String toString()
toString
in class NameTagImpl