Class SystemParticipantTypedEntityData<T extends SystemParticipantTypeInput>
java.lang.Object
edu.ie3.datamodel.io.factory.FactoryData
edu.ie3.datamodel.io.factory.EntityData
edu.ie3.datamodel.io.factory.input.AssetInputEntityData
edu.ie3.datamodel.io.factory.input.NodeAssetInputEntityData
edu.ie3.datamodel.io.factory.input.participant.SystemParticipantTypedEntityData<T>
- Type Parameters:
T
- Subclass ofSystemParticipantTypeInput
that is required for the construction of the SystemParticipantInput
- Direct Known Subclasses:
ChpInputEntityData
,HpInputEntityData
public class SystemParticipantTypedEntityData<T extends SystemParticipantTypeInput>
extends NodeAssetInputEntityData
Data used for those classes of
SystemParticipantInput
that need an instance of some type
T of SystemParticipantTypeInput
as well.-
Constructor Summary
ConstructorDescriptionSystemParticipantTypedEntityData
(Map<String, String> fieldsToAttributes, Class<? extends UniqueEntity> entityClass, NodeInput node, T typeInput) Creates a new SystemParticipantEntityData object for an operated, always on system participant input that needs a type input as wellSystemParticipantTypedEntityData
(Map<String, String> fieldsToAttributes, Class<? extends UniqueEntity> entityClass, OperatorInput operator, NodeInput node, T typeInput) Creates a new SystemParticipantEntityData object for an operable system participant input that needs a type input as well -
Method Summary
Methods inherited from class edu.ie3.datamodel.io.factory.input.NodeAssetInputEntityData
getNode
Methods inherited from class edu.ie3.datamodel.io.factory.input.AssetInputEntityData
getOperatorInput
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
-
SystemParticipantTypedEntityData
public SystemParticipantTypedEntityData(Map<String, String> fieldsToAttributes, Class<? extends UniqueEntity> entityClass, NodeInput node, T typeInput) Creates a new SystemParticipantEntityData object for an operated, always on system participant input that needs a type input as well- Parameters:
fieldsToAttributes
- attribute map: field name to valueentityClass
- class of the entity to be created with this datanode
- input nodetypeInput
- type input
-
SystemParticipantTypedEntityData
public SystemParticipantTypedEntityData(Map<String, String> fieldsToAttributes, Class<? extends UniqueEntity> entityClass, OperatorInput operator, NodeInput node, T typeInput) Creates a new SystemParticipantEntityData object for an operable system participant input that needs a type input as well- Parameters:
fieldsToAttributes
- attribute map: field name to valueentityClass
- class of the entity to be created with this dataoperator
- operator inputnode
- input nodetypeInput
- type input
-
-
Method Details
-
toString
- Overrides:
toString
in classNodeAssetInputEntityData
-
equals
- Overrides:
equals
in classNodeAssetInputEntityData
-
hashCode
public int hashCode()- Overrides:
hashCode
in classNodeAssetInputEntityData
-
getTypeInput
-