Class ModelDataType

java.lang.Object
test.de.iip_ecosphere.platform.connectors.ModelDataType

public class ModelDataType extends Object
Mimiks some form of model data type wrapping primitive types.
Author:
Holger Eichelberger, SSE
  • Field Details

    • intValue

      private int intValue
    • doubleValue

      private double doubleValue
    • stringValue

      private String 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

      public ModelDataType(String stringValue)
      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

      public String getStringValue()
      Returns the string value.
      Returns:
      the string value