public class BusImpl extends ExtensionElementImpl implements Bus
The following features are implemented:
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| Modifier and Type | Method and Description |
|---|---|
void |
addSection(Bus bus) |
void |
addSection(int secNo,
Bus bus) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetParent(Bus newParent,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
checkData(DataCheckConfiguration config) |
void |
copy(NameTag from,
NameTag to) |
void |
copyRef(NameTag from,
NameTag to) |
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) |
void |
eUnset(int featureID) |
java.lang.Object |
getAdapter(java.lang.Class<?> klass) |
java.lang.Object |
getAdapter(java.lang.String className) |
double |
getBaseVoltage() |
java.util.List<Branch> |
getBranchList() |
org.eclipse.emf.common.util.EList<Bus> |
getBusSecList() |
Branch |
getConnectedPhysicalBranch(java.lang.String branchId) |
java.util.List<Branch> |
getConnectedPhysicalBranchList() |
org.eclipse.emf.common.util.EList<Branch> |
getFromBranchList()
This method is not supposed to be used outside this class
|
Network<?,?> |
getNetwork() |
Bus |
getParent() |
int |
getSecNo() |
Bus |
getSection(int secNo) |
int |
getSubAreaFlag() |
org.eclipse.emf.common.util.EList<Branch> |
getToBranchList()
This method is not supposed to be used outside this class
|
boolean |
isChildSection() |
boolean |
isIslandBus() |
boolean |
isParent() |
int |
nActiveBranchConnected() |
int |
nBranchConnected() |
int |
nBranchConnected(boolean visited) |
int |
nNonGroundBranchConnected(boolean inclActiveOnly) |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
void |
removeSection(int secNo) |
void |
setAttributes(java.lang.String name,
java.lang.String desc) |
void |
setAttributes(java.lang.String name,
java.lang.String desc,
Area area,
Zone zone) |
void |
setBaseVoltage(double newBaseVoltage) |
void |
setBaseVoltage(double volt,
Unit.UnitType unit) |
void |
setId(java.lang.String newId)
Bus id cannot contain "->", space, '(' and ')'
|
void |
setNetwork(Network<?,?> newNetwork) |
void |
setParent(Bus newParent) |
void |
setSecNo(int newSecNo) |
void |
setSubAreaFlag(int newSubAreaFlag) |
java.lang.String |
toString() |
java.lang.String |
toString(double baseKVA) |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
getExtensionObject, setExtensionObjectgetArea, getIntFlag, getOwner, getSortNumber, getWeight, getZone, isBooleanFlag, setArea, setBooleanFlag, setIntFlag, setOwner, setSortNumber, setWeight, setZonecheckData, getDesc, getId, getName, getNumber, isActive, isStatus, setDesc, setName, setNumber, setStatuseAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIeAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnseteNotificationRequired, eNotifyequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtensionObject, setExtensionObjectgetArea, getIntFlag, getOwner, getSortNumber, getWeight, getZone, isBooleanFlag, setArea, setBooleanFlag, setIntFlag, setOwner, setSortNumber, setWeight, setZonecheckData, getDesc, getId, getName, getNumber, isActive, isStatus, setDesc, setName, setNumber, setStatuseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetpublic boolean checkData(DataCheckConfiguration config)
checkData in interface NameTagcheckData in class NameTagImplconfig - data check configuration
public void copyRef(NameTag from, NameTag to) throws InterpssException
NameTagImplcopyRef in interface NameTagcopyRef in class NameTagImplfrom - from ref objectto - to ref object
InterpssExceptionpublic void copy(NameTag from, NameTag to) throws InterpssException
NameTagImplcopy in interface NameTagcopy in class NetworkedElementImplfrom - from objectto - to object
InterpssExceptionpublic void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws java.io.IOException
NameTagImplwriteData in interface com.hazelcast.nio.serialization.DataSerializablewriteData in class ExtensionElementImpljava.io.IOExceptionpublic void readData(com.hazelcast.nio.ObjectDataInput in)
throws java.io.IOException
NameTagImplreadData in interface com.hazelcast.nio.serialization.DataSerializablereadData in class ExtensionElementImpljava.io.IOExceptionpublic boolean isIslandBus()
isIslandBus in interface IBusSwitchBreakModelpublic void setId(java.lang.String newId)
setId in interface NameTagsetId in class NameTagImplnewId - the new value of the 'Id' attribute.NameTag.getId()public double getBaseVoltage()
getBaseVoltage in interface BusBus.setBaseVoltage(double),
NetPackage.getBus_BaseVoltage()public void setBaseVoltage(double newBaseVoltage)
setBaseVoltage in interface BusnewBaseVoltage - the new value of the 'Base Voltage' attribute.Bus.getBaseVoltage()public int getSubAreaFlag()
getSubAreaFlag in interface BusBus.setSubAreaFlag(int),
NetPackage.getBus_SubAreaFlag()public void setSubAreaFlag(int newSubAreaFlag)
setSubAreaFlag in interface BusnewSubAreaFlag - the new value of the 'Sub Area Flag' attribute.Bus.getSubAreaFlag()public void setBaseVoltage(double volt,
Unit.UnitType unit)
setBaseVoltage in interface Busvolt - bus base voltageunit - base voltage unit
public org.eclipse.emf.common.util.EList<Branch> getFromBranchList()
getFromBranchList in interface BusNetPackage.getBus_FromBranchList(),
Branch.getFromBus()public Network<?,?> getNetwork()
getNetwork in interface BusBus.setNetwork(Network),
NetPackage.getBus_Network()public void setNetwork(Network<?,?> newNetwork)
setNetwork in interface BusnewNetwork - the new value of the 'Network' reference.Bus.getNetwork()public org.eclipse.emf.common.util.EList<Branch> getToBranchList()
getToBranchList in interface BusNetPackage.getBus_ToBranchList(),
Branch.getToBus()public java.lang.Object getAdapter(java.lang.Class<?> klass)
getAdapter in interface IAdaptablepublic java.lang.Object getAdapter(java.lang.String className)
getAdapter in interface IAdaptablepublic void setAttributes(java.lang.String name,
java.lang.String desc)
setAttributes in interface Busname - bus namedesc - bus description
public void setAttributes(java.lang.String name,
java.lang.String desc,
Area area,
Zone zone)
setAttributes in interface Busname - bus namedesc - bus descriptionarea - bus areazone - bus zone
public int nActiveBranchConnected()
nActiveBranchConnected in interface Buspublic int nBranchConnected()
nBranchConnected in interface Buspublic int nBranchConnected(boolean visited)
nBranchConnected in interface Buspublic int nNonGroundBranchConnected(boolean inclActiveOnly)
nNonGroundBranchConnected in interface Buspublic java.util.List<Branch> getBranchList()
getBranchList in interface Buspublic int getSecNo()
getSecNo in interface BusBus.setSecNo(int),
NetPackage.getBus_SecNo()public void setSecNo(int newSecNo)
setSecNo in interface BusnewSecNo - the new value of the 'Sec No' attribute.Bus.getSecNo()public org.eclipse.emf.common.util.EList<Bus> getBusSecList()
getBusSecList in interface BusNetPackage.getBus_BusSecList(),
Bus.getParent()public boolean isParent()
isParent in interface IBusSwitchBreakModelpublic Bus getParent()
getParent in interface BusBus.setParent(Bus),
NetPackage.getBus_Parent(),
Bus.getBusSecList()public org.eclipse.emf.common.notify.NotificationChain basicSetParent(Bus newParent, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setParent(Bus newParent)
setParent in interface BusnewParent - the new value of the 'Parent' reference.Bus.getParent()public void addSection(Bus bus) throws InterpssException
addSection in interface IBusSwitchBreakModelbus - bus section object
InterpssExceptionpublic void addSection(int secNo,
Bus bus)
throws InterpssException
addSection in interface IBusSwitchBreakModelsecNo - bus section numberbus - bus section object
InterpssExceptionpublic Bus getSection(int secNo)
getSection in interface IBusSwitchBreakModelsecNo - bus section number
public void removeSection(int secNo)
throws InterpssException
removeSection in interface IBusSwitchBreakModelsecNo - bus section number
InterpssExceptionpublic boolean isChildSection()
isChildSection in interface IBusSwitchBreakModelpublic Branch getConnectedPhysicalBranch(java.lang.String branchId)
getConnectedPhysicalBranch in interface IBusSwitchBreakModelbranchId - branch id
public java.util.List<Branch> getConnectedPhysicalBranchList()
getConnectedPhysicalBranchList in interface IBusSwitchBreakModelpublic java.lang.String toString()
toString in class ExtensionElementImplpublic 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 ExtensionElementImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class ExtensionElementImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class ExtensionElementImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class ExtensionElementImpl