Class ParameterFactory
java.lang.Object
org.n52.series.db.beans.parameter.ParameterFactory
Denotes Classes that can create concrete parameter entities.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ParameterEntity<?>from(DescribableEntity entity, ParameterFactory.ValueType valueType) Creates a concrete ParameterEntity based on the type of the Entity and the Parameterstatic ParameterEntity<?>from(ParameterFactory.EntityType entityType, ParameterFactory.ValueType valueType) Creates a concrete ParameterEntity based on the type of the Entity and the Parameter
-
Constructor Details
-
ParameterFactory
public ParameterFactory()
-
-
Method Details
-
from
public static ParameterEntity<?> from(DescribableEntity entity, ParameterFactory.ValueType valueType) Creates a concrete ParameterEntity based on the type of the Entity and the Parameter- Parameters:
valueType- type of the valueentity- the entity- Returns:
- concrete class
-
from
public static ParameterEntity<?> from(ParameterFactory.EntityType entityType, ParameterFactory.ValueType valueType) Creates a concrete ParameterEntity based on the type of the Entity and the Parameter- Parameters:
valueType- type of the valueentityType- type of the entity- Returns:
- concrete class
-