Package edu.ie3.datamodel.models.input
Class MeasurementUnitInput
java.lang.Object
edu.ie3.datamodel.models.UniqueEntity
edu.ie3.datamodel.models.input.InputEntity
edu.ie3.datamodel.models.input.AssetInput
edu.ie3.datamodel.models.input.MeasurementUnitInput
- All Implemented Interfaces:
HasNodes
,NestedEntity
,Operable
,Serializable
Model of a measuring unit attached to a certain
NodeInput
.- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A builder pattern based approach to create copies ofMeasurementUnitInput
entities with altered field values.Nested classes/interfaces inherited from class edu.ie3.datamodel.models.input.AssetInput
AssetInput.AssetInputCopyBuilder<T extends AssetInput.AssetInputCopyBuilder<T>>
Nested classes/interfaces inherited from class edu.ie3.datamodel.models.UniqueEntity
UniqueEntity.UniqueEntityBuilder, UniqueEntity.UniqueEntityCopyBuilder<T extends UniqueEntity.UniqueEntityBuilder>
-
Field Summary
Fields inherited from class edu.ie3.datamodel.models.UniqueEntity
UUID_FIELD_NAME
-
Constructor Summary
ConstructorDescriptionMeasurementUnitInput
(UUID uuid, String id, NodeInput node, boolean vMag, boolean vAng, boolean p, boolean q) Constructor for an operated, always on measurement unitMeasurementUnitInput
(UUID uuid, String id, OperatorInput operator, OperationTime operationTime, NodeInput node, boolean vMag, boolean vAng, boolean p, boolean q) Constructor for an operated measurement unit -
Method Summary
Methods inherited from class edu.ie3.datamodel.models.input.AssetInput
getId, getOperationTime, getOperator
Methods inherited from class edu.ie3.datamodel.models.UniqueEntity
getUuid
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface edu.ie3.datamodel.models.Operable
inOperationOn
-
Constructor Details
-
MeasurementUnitInput
public MeasurementUnitInput(UUID uuid, String id, OperatorInput operator, OperationTime operationTime, NodeInput node, boolean vMag, boolean vAng, boolean p, boolean q) Constructor for an operated measurement unit- Parameters:
uuid
- of the input entityid
- of the assetoperator
- of the assetoperationTime
- Time for which the entity is operatednode
- Grid node, the asset is attached tovMag
- True, if the voltage magnitude is measuredvAng
- True, if the voltage angle is measuredp
- True, if the nodal residual active power is measuredq
- True, if the reactive power is measured
-
MeasurementUnitInput
public MeasurementUnitInput(UUID uuid, String id, NodeInput node, boolean vMag, boolean vAng, boolean p, boolean q) Constructor for an operated, always on measurement unit- Parameters:
uuid
- of the input entityid
- of the assetnode
- Grid node, the asset is attached tovMag
- True, if the voltage magnitude is measuredvAng
- True, if the voltage angle is measuredp
- True, if the nodal residual active power is measuredq
- True, if the reactive power is measured
-
-
Method Details
-
getNode
-
getVMag
public boolean getVMag() -
getVAng
public boolean getVAng() -
getP
public boolean getP() -
getQ
public boolean getQ() -
copy
- Specified by:
copy
in classAssetInput
-
equals
- Overrides:
equals
in classAssetInput
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAssetInput
-
toString
- Overrides:
toString
in classAssetInput
-
allNodes
-