public class BranchImpl extends ExtensionElementImpl implements Branch
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 |
|---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetFromBus(Bus newFromBus,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetToBus(Bus newToBus,
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) |
java.lang.String |
getCircuitNumber() |
Bus |
getConnectedPhysicalOppositeBus(Bus bus) |
Bus |
getFromBus() |
Bus |
getFromPhysicalBusConnected() |
java.lang.String |
getFromPhysicalBusId() |
Network<?,?> |
getNetwork() |
Bus |
getOppositeBus(Bus bus) |
Bus |
getToBus() |
Bus |
getToPhysicalBusConnected() |
java.lang.String |
getToPhysicalBusId() |
boolean |
isChildBranch() |
boolean |
isFromBus(Bus bus) |
boolean |
isFromSideMetered() |
boolean |
isGroundBranch()
A branch is a gound branch if its to bus is null
|
boolean |
isToBus(Bus bus) |
boolean |
isZeroImpedanceBranch() |
void |
processZeroImpedanceBranch() |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
void |
setAttributes(java.lang.String name,
java.lang.String desc,
java.lang.String cirNumber) |
void |
setAttributes(java.lang.String name,
java.lang.String desc,
java.lang.String cirNumber,
Area area,
Zone zone) |
void |
setChildBranch(boolean newChildBranch) |
void |
setCircuitNumber(java.lang.String newCircuitNumber) |
void |
setFromBus(Bus newFromBus) |
void |
setFromSideMetered(boolean newFromSideMetered) |
void |
setNetwork(Network<?,?> newNetwork) |
void |
setToBus(Bus newToBus) |
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, setId, 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, setId, 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 Network<?,?> getNetwork()
getNetwork in interface BranchBranch.setNetwork(Network),
NetPackage.getBranch_Network()public void setNetwork(Network<?,?> newNetwork)
setNetwork in interface BranchnewNetwork - the new value of the 'Network' reference.Branch.getNetwork()public java.lang.String getCircuitNumber()
getCircuitNumber in interface BranchBranch.setCircuitNumber(String),
NetPackage.getBranch_CircuitNumber()public void setCircuitNumber(java.lang.String newCircuitNumber)
setCircuitNumber in interface BranchnewCircuitNumber - the new value of the 'Circuit Number' attribute.Branch.getCircuitNumber()public boolean isChildBranch()
isChildBranch in interface BranchBranch.setChildBranch(boolean),
NetPackage.getBranch_ChildBranch()public void setChildBranch(boolean newChildBranch)
setChildBranch in interface BranchnewChildBranch - the new value of the 'Child Branch' attribute.Branch.isChildBranch()public boolean isFromSideMetered()
isFromSideMetered in interface BranchBranch.setFromSideMetered(boolean),
NetPackage.getBranch_FromSideMetered()public void setFromSideMetered(boolean newFromSideMetered)
setFromSideMetered in interface BranchnewFromSideMetered - the new value of the 'From Side Metered' attribute.Branch.isFromSideMetered()public Bus getFromBus()
getFromBus in interface BranchBranch.setFromBus(Bus),
NetPackage.getBranch_FromBus(),
Bus.getFromBranchList()public Bus getFromPhysicalBusConnected()
getFromPhysicalBusConnected in interface IBranchSwitchBreakModelpublic org.eclipse.emf.common.notify.NotificationChain basicSetFromBus(Bus newFromBus, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setFromBus(Bus newFromBus)
setFromBus in interface BranchnewFromBus - the new value of the 'From Bus' reference.Branch.getFromBus()public Bus getOppositeBus(Bus bus) throws InterpssException
getOppositeBus in interface Branchbus - bus object
InterpssExceptionpublic boolean isFromBus(Bus bus)
public boolean isToBus(Bus bus)
public Bus getToBus()
getToBus in interface BranchBranch.setToBus(Bus),
NetPackage.getBranch_ToBus(),
Bus.getToBranchList()public Bus getToPhysicalBusConnected()
getToPhysicalBusConnected in interface IBranchSwitchBreakModelpublic Bus getConnectedPhysicalOppositeBus(Bus bus)
getConnectedPhysicalOppositeBus in interface IBranchSwitchBreakModelbus - bus object
public java.lang.String getFromPhysicalBusId()
getFromPhysicalBusId in interface IBranchSwitchBreakModelpublic java.lang.String getToPhysicalBusId()
getToPhysicalBusId in interface IBranchSwitchBreakModelpublic org.eclipse.emf.common.notify.NotificationChain basicSetToBus(Bus newToBus, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setToBus(Bus newToBus)
setToBus in interface BranchnewToBus - the new value of the 'To Bus' reference.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,
java.lang.String cirNumber)
setAttributes in interface Branchname - branch name, optional in terms of analysis purposedesc - branch description, optional in terms of analysiscirNumber - branch circuit number
public void setAttributes(java.lang.String name,
java.lang.String desc,
java.lang.String cirNumber,
Area area,
Zone zone)
setAttributes in interface Branchname - branch namedesc - branch descriptioncirNumber - branch circuit numberarea - branch areazone - branch zone
public boolean isGroundBranch()
isGroundBranch in interface Branchpublic boolean isZeroImpedanceBranch()
public void processZeroImpedanceBranch()
throws InterpssException
InterpssExceptionpublic java.lang.String toString()
toString in class ExtensionElementImplpublic java.lang.String toString(double baseKVA)
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 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 ExtensionElementImplpublic 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.IOException