public class SubstationImpl extends NameTagImpl implements Substation
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 org.eclipse.emf.common.util.EList<Bus> |
busList
The cached value of the '
Bus List' reference list. |
protected org.eclipse.emf.common.util.EList<NBEquipConnection> |
nbEquipConnectList
The cached value of the '
Nb Equip Connect List' reference list. |
protected org.eclipse.emf.common.util.EList<NBNode> |
nbNodeList
The cached value of the '
Nb Node List' reference list. |
protected org.eclipse.emf.common.util.EList<NBSwitch> |
nbSwitchList
The cached value of the '
Nb Switch List' reference list. |
protected Network<?,?> |
network
The cached value of the '
Network' reference. |
protected static double |
VOLT_LEVEL_EDEFAULT
The default value of the '
Volt Level' attribute. |
protected double |
voltLevel
The cached value of the '
Volt Level' 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 |
SubstationImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBus(Bus bus) |
void |
addNBEquipConnect(NBEquipConnection equip) |
void |
addNBNode(NBNode node) |
void |
addNBSwitch(NBSwitch switch_) |
java.util.List<Branch> |
buildBranchList(boolean inside) |
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) |
org.eclipse.emf.common.util.EList<Bus> |
getBusList() |
org.eclipse.emf.common.util.EList<NBEquipConnection> |
getNbEquipConnectList() |
org.eclipse.emf.common.util.EList<NBNode> |
getNbNodeList() |
org.eclipse.emf.common.util.EList<NBSwitch> |
getNbSwitchList() |
Network<?,?> |
getNetwork() |
double |
getVoltLevel() |
java.util.Optional<Zone> |
getZone() |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
void |
setNetwork(Network<?,?> newNetwork) |
void |
setVoltLevel(double newVoltLevel) |
java.lang.String |
toString() |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
checkData, 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, 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, eUnsetprotected Network<?,?> network
Network' reference.
getNetwork()protected static final double VOLT_LEVEL_EDEFAULT
Volt Level' attribute.
getVoltLevel(),
Constant Field Valuesprotected double voltLevel
Volt Level' attribute.
getVoltLevel()protected org.eclipse.emf.common.util.EList<Bus> busList
Bus List' reference list.
getBusList()protected org.eclipse.emf.common.util.EList<NBNode> nbNodeList
Nb Node List' reference list.
getNbNodeList()protected org.eclipse.emf.common.util.EList<NBSwitch> nbSwitchList
Nb Switch List' reference list.
getNbSwitchList()protected org.eclipse.emf.common.util.EList<NBEquipConnection> nbEquipConnectList
Nb Equip Connect List' reference list.
getNbEquipConnectList()protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class NameTagImplpublic Network<?,?> getNetwork()
getNetwork in interface SubstationSubstation.setNetwork(Network),
NetPackage.getSubstation_Network()public void setNetwork(Network<?,?> newNetwork)
setNetwork in interface SubstationnewNetwork - the new value of the 'Network' reference.Substation.getNetwork()public double getVoltLevel()
getVoltLevel in interface SubstationSubstation.setVoltLevel(double),
NetPackage.getSubstation_VoltLevel()public void setVoltLevel(double newVoltLevel)
setVoltLevel in interface SubstationnewVoltLevel - the new value of the 'Volt Level' attribute.Substation.getVoltLevel()public org.eclipse.emf.common.util.EList<Bus> getBusList()
getBusList in interface SubstationNetPackage.getSubstation_BusList(),
Bus.getSubstation()public org.eclipse.emf.common.util.EList<NBNode> getNbNodeList()
getNbNodeList in interface SubstationNetPackage.getSubstation_NbNodeList(),
NBNode.getSubstation()public org.eclipse.emf.common.util.EList<NBSwitch> getNbSwitchList()
getNbSwitchList in interface SubstationNetPackage.getSubstation_NbSwitchList(),
NBSwitch.getSubstation()public org.eclipse.emf.common.util.EList<NBEquipConnection> getNbEquipConnectList()
getNbEquipConnectList in interface SubstationNetPackage.getSubstation_NbEquipConnectList(),
NBEquipConnection.getSubstation()public void addBus(Bus bus)
addBus in interface Substationbus - the Bus object
public void addNBNode(NBNode node)
addNBNode in interface Substationnode - the NBNode object
public void addNBSwitch(NBSwitch switch_)
addNBSwitch in interface Substationswitch_ - the NBSwitch object
public void addNBEquipConnect(NBEquipConnection equip)
addNBEquipConnect in interface Substationequip - the Bus object
public java.util.Optional<Zone> getZone()
getZone in interface Substationpublic java.util.List<Branch> buildBranchList(boolean inside)
buildBranchList in interface Substationinside - if true, build an inside substation branch list. If false, build an across substation branch list.
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 NameTagImplpublic void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws java.io.IOException
NameTagImplwriteData in interface com.hazelcast.nio.serialization.DataSerializablewriteData in class NameTagImpljava.io.IOExceptionpublic void readData(com.hazelcast.nio.ObjectDataInput in)
throws java.io.IOException
NameTagImplreadData in interface com.hazelcast.nio.serialization.DataSerializablereadData in class NameTagImpljava.io.IOException