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
Nested ClassesModifier and TypeClassDescriptionprotected static classAbstract class for all builder that build child entities of abstract classAssetInputNested 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
ConstructorsModifierConstructorDescriptionprotectedAssetInput(UUID uuid, String id) Constructor for an asset with timely unlimited operation and unassigned operatorprotectedAssetInput(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.UniqueEntityBuildercopy()booleangetId()inthashCode()toString()Methods inherited from class edu.ie3.datamodel.models.UniqueEntity
getUuidMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getOperationTimein interfaceOperable
-
getOperator
- Specified by:
getOperatorin interfaceOperable
-
getId
-
copy
-
equals
- Overrides:
equalsin classUniqueEntity
-
hashCode
public int hashCode()- Overrides:
hashCodein classUniqueEntity
-
toString
- Overrides:
toStringin classUniqueEntity
-