Class ConfigurationValue
- java.lang.Object
-
- com.smartgridready.communicator.common.api.dto.ConfigurationValue
-
public class ConfigurationValue extends java.lang.ObjectImplements an EID configuration parameters.
-
-
Constructor Summary
Constructors Constructor Description ConfigurationValue(java.lang.String name, Value defaultValue, DataTypeInfo dataType, java.util.Map<com.smartgridready.ns.v0.Language,java.lang.String> descriptions)Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataTypeInfogetDataType()Gets the parameter's data type.ValuegetDefaultValue()Gets the parameter's default value.java.util.Map<com.smartgridready.ns.v0.Language,java.lang.String>getDescriptions()Gets the text descriptions.java.lang.StringgetName()Gets the parameter name.
-
-
-
Constructor Detail
-
ConfigurationValue
public ConfigurationValue(java.lang.String name, Value defaultValue, DataTypeInfo dataType, java.util.Map<com.smartgridready.ns.v0.Language,java.lang.String> descriptions)Constructs a new instance.- Parameters:
name- the parameter namedefaultValue- the parameter's default valuedataType- the parameter's data typedescriptions- parameter descriptions
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the parameter name.- Returns:
- a string
-
getDefaultValue
public Value getDefaultValue()
Gets the parameter's default value.- Returns:
- a string
-
getDataType
public DataTypeInfo getDataType()
Gets the parameter's data type.- Returns:
- a data type info
-
getDescriptions
public java.util.Map<com.smartgridready.ns.v0.Language,java.lang.String> getDescriptions()
Gets the text descriptions.- Returns:
- a map of language to description
-
-