Class ConnectorResult
java.lang.Object
edu.ie3.datamodel.models.UniqueEntity
edu.ie3.datamodel.models.result.ResultEntity
edu.ie3.datamodel.models.result.connector.ConnectorResult
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LineResult
,TransformerResult
Abstract class to hold most 'ElectricCurrent and Angle'-mappings common to all connectors
- See Also:
-
Nested Class Summary
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
ModifierConstructorDescriptionprotected
ConnectorResult
(ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iAMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iAAng, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iBMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iBAng) Standard constructor with automatic uuid generation.protected
ConnectorResult
(UUID uuid, ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iAMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iAAng, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iBMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iBAng) Standard constructor which allows uuid provision -
Method Summary
Modifier and TypeMethodDescriptionboolean
tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle>
getiAAng()
tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent>
getiAMag()
tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle>
getiBAng()
tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent>
getiBMag()
int
hashCode()
void
setiAAng
(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iAAng) void
setiAMag
(tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iAMag) void
setiBAng
(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iBAng) void
setiBMag
(tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iBMag) toString()
Methods inherited from class edu.ie3.datamodel.models.result.ResultEntity
getInputModel, getTime, setInputModel, setTime
Methods inherited from class edu.ie3.datamodel.models.UniqueEntity
getUuid
-
Constructor Details
-
ConnectorResult
protected ConnectorResult(ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iAMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iAAng, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iBMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iBAng) Standard constructor with automatic uuid generation.- Parameters:
time
- date and time when the result is producedinputModel
- uuid of the input model that produces the resultiAMag
- electric current magnitude @ port A, normally provided in AmpereiAAng
- electric current angle @ Port A in degreeiBMag
- electric current magnitude @ port B, normally provided in AmpereiBAng
- electric current angle @ Port B in degree
-
ConnectorResult
protected ConnectorResult(UUID uuid, ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iAMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iAAng, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iBMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iBAng) Standard constructor which allows uuid provision- Parameters:
uuid
- uuid of this result entity, for automatic uuid generation use primary constructor abovetime
- date and time when the result is producedinputModel
- uuid of the input model that produces the resultiAMag
- electric current magnitude @ port A, normally provided in AmpereiAAng
- electric current angle @ Port A in degreeiBMag
- electric current magnitude @ port B, normally provided in AmpereiBAng
- electric current angle @ Port B in degree
-
-
Method Details
-
getiAMag
public tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> getiAMag() -
setiAMag
public void setiAMag(tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iAMag) -
getiAAng
public tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> getiAAng() -
setiAAng
public void setiAAng(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iAAng) -
getiBMag
public tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> getiBMag() -
setiBMag
public void setiBMag(tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iBMag) -
getiBAng
public tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> getiBAng() -
setiBAng
public void setiBAng(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iBAng) -
equals
- Overrides:
equals
in classResultEntity
-
hashCode
public int hashCode()- Overrides:
hashCode
in classResultEntity
-
toString
- Overrides:
toString
in classResultEntity
-