public class FunctionLoadImpl extends NameTagImpl implements FunctionLoad
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 FuncLoadRecord |
p
The cached value of the '
P ' attribute. |
protected FuncLoadRecord |
P_EDEFAULT
The default value of the '
P ' attribute. |
protected FuncLoadRecord |
q
The cached value of the '
Q ' attribute. |
protected FuncLoadRecord |
Q_EDEFAULT
The default value of the '
Q ' 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 |
FunctionLoadImpl() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.notify.NotificationChain |
basicSetParentBus(BaseAclfBus<?,?> newParentBus,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) |
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) |
FuncLoadRecord |
getP() |
BaseAclfBus<?,?> |
getParentBus() |
double |
getPLoad(Unit.UnitType unit) |
FuncLoadRecord |
getQ() |
double |
getQLoad(Unit.UnitType unit) |
<T> T |
jsonCopy() |
boolean |
needAdjust(double tolerance) |
boolean |
performAdjust() |
boolean |
performAdjust(double accFactor) |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
void |
setP(FuncLoadRecord newP) |
void |
setParentBus(BaseAclfBus<?,?> newParentBus) |
void |
setQ(FuncLoadRecord newQ) |
java.lang.String |
toString() |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
checkData, checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfo
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, 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, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfo
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected final FuncLoadRecord P_EDEFAULT
P
' attribute.
getP()
protected FuncLoadRecord p
P
' attribute.
getP()
protected final FuncLoadRecord Q_EDEFAULT
Q
' attribute.
getQ()
protected FuncLoadRecord q
Q
' attribute.
getQ()
public FuncLoadRecord getP()
getP
in interface FunctionLoad
FunctionLoad.setP(FuncLoadRecord)
,
AclfAdjustPackage.getFunctionLoad_P()
public void setP(FuncLoadRecord newP)
setP
in interface FunctionLoad
newP
- the new value of the 'P' attribute.FunctionLoad.getP()
public FuncLoadRecord getQ()
getQ
in interface FunctionLoad
FunctionLoad.setQ(FuncLoadRecord)
,
AclfAdjustPackage.getFunctionLoad_Q()
public void setQ(FuncLoadRecord newQ)
setQ
in interface FunctionLoad
newQ
- the new value of the 'Q' attribute.FunctionLoad.getQ()
public BaseAclfBus<?,?> getParentBus()
getParentBus
in interface FunctionLoad
FunctionLoad.setParentBus(BaseAclfBus)
,
AclfAdjustPackage.getFunctionLoad_ParentBus()
,
BaseAclfBus.getFunctionLoad()
public org.eclipse.emf.common.notify.NotificationChain basicSetParentBus(BaseAclfBus<?,?> newParentBus, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setParentBus(BaseAclfBus<?,?> newParentBus)
setParentBus
in interface FunctionLoad
newParentBus
- the new value of the 'Parent Bus' container reference.FunctionLoad.getParentBus()
public boolean performAdjust()
public double getPLoad(Unit.UnitType unit)
getPLoad
in interface FunctionLoad
unit
- P load unit
public double getQLoad(Unit.UnitType unit)
getQLoad
in interface FunctionLoad
unit
- Q load unit
public boolean needAdjust(double tolerance)
needAdjust
in interface IAclfAdjustment
tolerance
- Error tolerance for deciding adj/control action. In general, if certain value of the
adj/control device is less than the tolerance, there is no need for further adj/control
action.
public boolean performAdjust(double accFactor)
performAdjust
in interface IAclfAdjustment
accFactor
- acceleration factor for the adjustment, default value 1.0.
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class NameTagImpl
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 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
eBasicRemoveFromContainerFeature
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 <T> T jsonCopy()
jsonCopy
in interface NameTag
jsonCopy
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