Package edu.ie3.datamodel.models.input
Class AssetInput
java.lang.Object
edu.ie3.datamodel.models.UniqueEntity
edu.ie3.datamodel.models.input.InputEntity
edu.ie3.datamodel.models.input.AssetInput
- All Implemented Interfaces:
NestedEntity
,Operable
,Serializable
- Direct Known Subclasses:
ConnectorInput
,MeasurementUnitInput
,NodeInput
,SystemParticipantInput
,ThermalInput
Describes a grid asset under the assumption that every asset could be operable
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
Abstract class for all builder that build child entities of abstract classAssetInput
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
AssetInput
(UUID uuid, String id) Constructor for an asset with timely unlimited operation and unassigned operatorprotected
AssetInput
(UUID uuid, String id, OperatorInput operator, OperationTime operationTime) Constructor for an asset with timely limited operation and specific operator -
Method Summary
Modifier and TypeMethodDescriptionabstract UniqueEntity.UniqueEntityBuilder
copy()
boolean
getId()
int
hashCode()
toString()
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
-
AssetInput
Constructor for an asset with timely limited operation and specific operator- Parameters:
uuid
- Unique identifierid
- Human readable identifieroperator
- Operator of the assetoperationTime
- Operation time limitation
-
AssetInput
Constructor for an asset with timely unlimited operation and unassigned operator- Parameters:
uuid
- Unique identifierid
- Human readable identifier
-
-
Method Details
-
getOperationTime
- Specified by:
getOperationTime
in interfaceOperable
-
getOperator
- Specified by:
getOperator
in interfaceOperable
-
getId
-
copy
-
equals
- Overrides:
equals
in classUniqueEntity
-
hashCode
public int hashCode()- Overrides:
hashCode
in classUniqueEntity
-
toString
- Overrides:
toString
in classUniqueEntity
-