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.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 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, statusChangeInfo
eAdapters, 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, setStatusChangeInfo
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
protected 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 NameTagImpl
public Network<?,?> getNetwork()
getNetwork
in interface Substation
Substation.setNetwork(Network)
,
NetPackage.getSubstation_Network()
public void setNetwork(Network<?,?> newNetwork)
setNetwork
in interface Substation
newNetwork
- the new value of the 'Network' reference.Substation.getNetwork()
public double getVoltLevel()
getVoltLevel
in interface Substation
Substation.setVoltLevel(double)
,
NetPackage.getSubstation_VoltLevel()
public void setVoltLevel(double newVoltLevel)
setVoltLevel
in interface Substation
newVoltLevel
- the new value of the 'Volt Level' attribute.Substation.getVoltLevel()
public org.eclipse.emf.common.util.EList<Bus> getBusList()
getBusList
in interface Substation
NetPackage.getSubstation_BusList()
,
Bus.getSubstation()
public org.eclipse.emf.common.util.EList<NBNode> getNbNodeList()
getNbNodeList
in interface Substation
NetPackage.getSubstation_NbNodeList()
,
NBNode.getSubstation()
public org.eclipse.emf.common.util.EList<NBSwitch> getNbSwitchList()
getNbSwitchList
in interface Substation
NetPackage.getSubstation_NbSwitchList()
,
NBSwitch.getSubstation()
public org.eclipse.emf.common.util.EList<NBEquipConnection> getNbEquipConnectList()
getNbEquipConnectList
in interface Substation
NetPackage.getSubstation_NbEquipConnectList()
,
NBEquipConnection.getSubstation()
public void addBus(Bus bus)
addBus
in interface Substation
bus
- the Bus object
public void addNBNode(NBNode node)
addNBNode
in interface Substation
node
- the NBNode object
public void addNBSwitch(NBSwitch switch_)
addNBSwitch
in interface Substation
switch_
- the NBSwitch object
public void addNBEquipConnect(NBEquipConnection equip)
addNBEquipConnect
in interface Substation
equip
- the Bus object
public java.util.Optional<Zone> getZone()
getZone
in interface Substation
public java.util.List<Branch> buildBranchList(boolean inside)
buildBranchList
in interface Substation
inside
- 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.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
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws java.io.IOException
NameTagImpl
writeData
in interface com.hazelcast.nio.serialization.DataSerializable
writeData
in class NameTagImpl
java.io.IOException
public void readData(com.hazelcast.nio.ObjectDataInput in) throws java.io.IOException
NameTagImpl
readData
in interface com.hazelcast.nio.serialization.DataSerializable
readData
in class NameTagImpl
java.io.IOException