Class AssetInputEntityData
java.lang.Object
edu.ie3.datamodel.io.factory.FactoryData
edu.ie3.datamodel.io.factory.EntityData
edu.ie3.datamodel.io.factory.input.AssetInputEntityData
- Direct Known Subclasses:
ConnectorInputEntityData
,NodeAssetInputEntityData
,ThermalUnitInputEntityData
Data used for the construction of
AssetInput
entities.
This data object can include additional information about the OperatorInput
, which cannot
be provided through the attribute map as it is a complex shared entity.-
Constructor Summary
ConstructorDescriptionAssetInputEntityData
(Map<String, String> fieldsToAttributes, Class<? extends UniqueEntity> entityClass) Creates a new AssetInputEntityData object without operator.AssetInputEntityData
(Map<String, String> fieldsToAttributes, Class<? extends UniqueEntity> entityClass, OperatorInput operator) Creates a new AssetInputEntityData object with operator. -
Method Summary
Methods inherited from class edu.ie3.datamodel.io.factory.EntityData
getBoolean, getLineString, getPoint, getTargetClass, getVoltageLvl
Methods inherited from class edu.ie3.datamodel.io.factory.FactoryData
containsKey, getDouble, getField, getFieldOptional, getFieldsToValues, getInt, getQuantity, getUUID, getUUIDs
-
Constructor Details
-
AssetInputEntityData
public AssetInputEntityData(Map<String, String> fieldsToAttributes, Class<? extends UniqueEntity> entityClass) Creates a new AssetInputEntityData object without operator.- Parameters:
fieldsToAttributes
- attribute map: field name to valueentityClass
- class of the entity to be created with this data
-
AssetInputEntityData
public AssetInputEntityData(Map<String, String> fieldsToAttributes, Class<? extends UniqueEntity> entityClass, OperatorInput operator) Creates a new AssetInputEntityData object with operator.- Parameters:
fieldsToAttributes
- attribute map: field name to valueentityClass
- class of the entity to be created with this dataoperator
- operator input
-
-
Method Details
-
getOperatorInput
-
equals
- Overrides:
equals
in classFactoryData
-
hashCode
public int hashCode()- Overrides:
hashCode
in classFactoryData
-
toString
- Overrides:
toString
in classEntityData
-