Class ModelDataType
java.lang.Object
test.de.iip_ecosphere.platform.connectors.ModelDataType
Mimiks some form of model data type wrapping primitive types.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionModelDataType(double doubleValue) Creates an instance for a double value.ModelDataType(int intValue) Creates an instance for an int value.ModelDataType(String stringValue) Creates an instance for a String value. -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the double value.intReturns the int value.Returns the string value.
-
Field Details
-
intValue
private int intValue -
doubleValue
private double doubleValue -
stringValue
-
-
Constructor Details
-
ModelDataType
public ModelDataType(int intValue) Creates an instance for an int value.- Parameters:
intValue- the int value
-
ModelDataType
public ModelDataType(double doubleValue) Creates an instance for a double value.- Parameters:
doubleValue- the double value
-
ModelDataType
Creates an instance for a String value.- Parameters:
stringValue- the String value
-
-
Method Details
-
getIntValue
public int getIntValue()Returns the int value.- Returns:
- the int value
-
getDobuleValue
public double getDobuleValue()Returns the double value.- Returns:
- the double value
-
getStringValue
Returns the string value.- Returns:
- the string value
-