public class AreaInterchangeControlImpl extends BusRefImpl<BaseAclfBus<?,?>> implements AreaInterchangeControl
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 static double |
PSPEC_OUT_EDEFAULT
The default value of the '
PSpec Out ' attribute. |
protected double |
pSpecOut
The cached value of the '
PSpec Out ' attribute. |
protected double |
tolerance
The cached value of the '
Tolerance ' attribute. |
protected static double |
TOLERANCE_EDEFAULT
The default value of the '
Tolerance ' attribute. |
bus
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 |
AreaInterchangeControlImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
calculateAdjustment(java.lang.Object obj,
Network<?,?> net) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
double |
getPSpecOut() |
double |
getPSpecOut(Unit.UnitType unit,
double baseKva) |
BaseAclfBus<?,?> |
getSwingBus() |
double |
getTolerance() |
double |
getTolerance(Unit.UnitType unit,
double baseKva) |
boolean |
needAdjustment(java.lang.Object obj,
Network<?,?> net) |
boolean |
performAdjusment(java.lang.Object obj,
Network<?,?> net) |
void |
setBus(BaseAclfBus<?,?> newBus)
This is specialized for the more specific type known in this context.
|
void |
setPSpecOut(double newPSpecOut) |
void |
setPSpecOut(double p,
Unit.UnitType unit,
double baseKva) |
void |
setSwingBus(BaseAclfBus<?,?> bus) |
void |
setTolerance(double newTolerance) |
void |
setTolerance(double e,
Unit.UnitType unit,
double baseKva) |
java.lang.String |
toString() |
getBus, readData, setBaseVoltage, writeData
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, eInverseAdd, eInverseRemove, 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
getBus, setBaseVoltage
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 static final double PSPEC_OUT_EDEFAULT
PSpec Out
' attribute.
getPSpecOut()
,
Constant Field Valuesprotected double pSpecOut
PSpec Out
' attribute.
getPSpecOut()
protected static final double TOLERANCE_EDEFAULT
Tolerance
' attribute.
getTolerance()
,
Constant Field Valuesprotected double tolerance
Tolerance
' attribute.
getTolerance()
public void setBus(BaseAclfBus<?,?> newBus)
setBus
in interface BusRef<BaseAclfBus<?,?>>
setBus
in class BusRefImpl<BaseAclfBus<?,?>>
newBus
- the new value of the 'Bus' reference.BusRef.getBus()
public double getPSpecOut()
getPSpecOut
in interface AreaInterchangeControl
AreaInterchangeControl.setPSpecOut(double)
,
NetAdjustPackage.getAreaInterchangeControl_PSpecOut()
public void setPSpecOut(double newPSpecOut)
setPSpecOut
in interface AreaInterchangeControl
newPSpecOut
- the new value of the 'PSpec Out' attribute.AreaInterchangeControl.getPSpecOut()
public double getTolerance()
getTolerance
in interface AreaInterchangeControl
AreaInterchangeControl.setTolerance(double)
,
NetAdjustPackage.getAreaInterchangeControl_Tolerance()
public void setTolerance(double newTolerance)
setTolerance
in interface AreaInterchangeControl
newTolerance
- the new value of the 'Tolerance' attribute.AreaInterchangeControl.getTolerance()
public BaseAclfBus<?,?> getSwingBus()
getSwingBus
in interface AreaInterchangeControl
public void setSwingBus(BaseAclfBus<?,?> bus)
setSwingBus
in interface AreaInterchangeControl
bus
- the swing bus object
public double getPSpecOut(Unit.UnitType unit, double baseKva)
getPSpecOut
in interface AreaInterchangeControl
unit
- power unitbaseKva
- base kva for power unit conversion
public void setPSpecOut(double p, Unit.UnitType unit, double baseKva)
setPSpecOut
in interface AreaInterchangeControl
p
- power specificationunit
- power unitbaseKva
- base kva for power unit conversion
public double getTolerance(Unit.UnitType unit, double baseKva)
getTolerance
in interface AreaInterchangeControl
unit
- tolerance unitbaseKva
- base kva for the tolerance conversion
public void setTolerance(double e, Unit.UnitType unit, double baseKva)
setTolerance
in interface AreaInterchangeControl
e
- tolerance valueunit
- tolerance unitbaseKva
- base kva for tolerance unit conversion
public boolean needAdjustment(java.lang.Object obj, Network<?,?> net)
needAdjustment
in interface IRegulationDevice
obj
- regulation device objectnet
- network object
public boolean performAdjusment(java.lang.Object obj, Network<?,?> net)
performAdjusment
in interface IRegulationDevice
obj
- regulation objectnet
- network object
public java.lang.Object calculateAdjustment(java.lang.Object obj, Network<?,?> net)
calculateAdjustment
in interface IRegulationDevice
obj
- regulation objectnet
- network object
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class BusRefImpl<BaseAclfBus<?,?>>
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class BusRefImpl<BaseAclfBus<?,?>>
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class BusRefImpl<BaseAclfBus<?,?>>
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class BusRefImpl<BaseAclfBus<?,?>>
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class BusRefImpl<BaseAclfBus<?,?>>
public java.lang.String toString()
toString
in class NameTagImpl