Class Parameter<T>
java.lang.Object
de.fraunhofer.iese.mydata.common.MyDataEntity
de.fraunhofer.iese.mydata.policy.parameter.Parameter<T>
- Type Parameters:
T
- the type of the value
A parameter, basically a key-value pair.
- Author:
- Fraunhofer IESE
-
Constructor Summary
-
Method Summary
Methods inherited from class de.fraunhofer.iese.mydata.common.MyDataEntity
fromJson, getGson, getGson, toJson, validate, validateAndNullCheck
-
Constructor Details
-
Parameter
Instantiates a new parameter.- Parameters:
name
- the namevalue
- the value
-
Parameter
Instantiates a new parameter.- Parameters:
name
- the namevalue
- the valueclazz
- the clazz
-
Parameter
Instantiates a new parameter.- Parameters:
name
- the namevalue
- the valuevalueType
- the value type
-
-
Method Details
-
getName
-
getType
Gets the type.- Returns:
- the type
-
getTypeName
Gets the type name.- Returns:
- the type name
-
getValue
Gets the value of the parameter.- Returns:
- the value of the parameter
-
setValue
Sets the value of the parameter.- Parameters:
value
- the new value of the parameter
-
equals
-
hashCode
public int hashCode() -
toString
- Overrides:
toString
in classMyDataEntity
-