Class ParameterFactory
- java.lang.Object
-
- org.n52.series.db.beans.parameter.ParameterFactory
-
public class ParameterFactory extends Object
Denotes Classes that can create concrete parameter entities.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classParameterFactory.EntityTypestatic classParameterFactory.ValueType
-
Constructor Summary
Constructors Constructor Description ParameterFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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
-
-
-
Method Detail
-
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
-
-