Class BaseDataType

    • Constructor Detail

      • BaseDataType

        protected BaseDataType​(BaseDataType t)
        creates a shallow copy of t
        Parameters:
        t -
    • Method Detail

      • setUnitSet

        public void setUnitSet​(List<UnitType> unitSet)
      • setInitialValue

        protected abstract void setInitialValue​(Object initialValue)
      • parseString

        public abstract Object parseString​(String stringValue)
        Used to parse string such as an initial value
        Specified by:
        parseString in interface DataType
        Parameters:
        stringValue -
        Returns:
      • parseStringForRawValue

        public Object parseStringForRawValue​(String stringValue)
        Description copied from interface: DataType
        parses the string into a java object according to the parameter encoding
        Specified by:
        parseStringForRawValue in interface DataType
        Returns:
        a java object representation