Class TypedConnectorInputEntityData<T extends AssetTypeInput>
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.ConnectorInputEntityData
edu.ie3.datamodel.io.factory.input.TypedConnectorInputEntityData<T>
- Type Parameters:
T
- Subclass ofAssetTypeInput
that is required for the construction of the ConnectorInput
- Direct Known Subclasses:
Transformer3WInputEntityData
public class TypedConnectorInputEntityData<T extends AssetTypeInput>
extends ConnectorInputEntityData
Data used for those classes of
ConnectorInput
that need an instance of some type T of Transformer2WTypeInput
as well.-
Constructor Summary
ConstructorDescriptionTypedConnectorInputEntityData
(Map<String, String> fieldsToAttributes, Class<? extends UniqueEntity> entityClass, NodeInput nodeA, NodeInput nodeB, T type) Creates a new TypedConnectorInputEntityData object for a connector input that needs a type input as well.TypedConnectorInputEntityData
(Map<String, String> fieldsToAttributes, Class<? extends UniqueEntity> entityClass, OperatorInput operator, NodeInput nodeA, NodeInput nodeB, T type) Creates a new TypedConnectorInputEntityData object for an operable connector input input that input that needs a type input as well -
Method Summary
Methods inherited from class edu.ie3.datamodel.io.factory.input.ConnectorInputEntityData
getNodeA, getNodeB
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
-
TypedConnectorInputEntityData
public TypedConnectorInputEntityData(Map<String, String> fieldsToAttributes, Class<? extends UniqueEntity> entityClass, NodeInput nodeA, NodeInput nodeB, T type) Creates a new TypedConnectorInputEntityData object for a connector input that needs a type input as well. It sets the operator to default.- Parameters:
fieldsToAttributes
- attribute map: field name to valueentityClass
- class of the entity to be created with this datanodeA
- input nodeAnodeB
- input nodeBtype
- type input
-
TypedConnectorInputEntityData
public TypedConnectorInputEntityData(Map<String, String> fieldsToAttributes, Class<? extends UniqueEntity> entityClass, OperatorInput operator, NodeInput nodeA, NodeInput nodeB, T type) Creates a new TypedConnectorInputEntityData object for an operable connector input input that 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
- specific operator to usenodeA
- input nodeAnodeB
- input nodeBtype
- type input
-
-
Method Details
-
getType
-
equals
- Overrides:
equals
in classConnectorInputEntityData
-
hashCode
public int hashCode()- Overrides:
hashCode
in classConnectorInputEntityData
-
toString
- Overrides:
toString
in classConnectorInputEntityData
-