Class DataTypeFormat


  • public final class DataTypeFormat
    extends java.lang.Object
    Encapsulates the common data types that are supported for ParameterDefinition.
    It is used for parsing or formatting the value of parameters.
    Since:
    1.3.0
    • Method Detail

      • getSchemaTypeName

        public com.orchestranetworks.schema.SchemaTypeName getSchemaTypeName()
        Returns the SchemaTypeName.
      • getFormat

        public java.text.Format getFormat()
        Returns the format to parse or format the parameter value.
        See Also:
        NumberFormat, DateFormat
      • isDate

        public boolean isDate()
        Returns true if this data type format is DATE_FORMAT.
      • isTime

        public boolean isTime()
        Returns true if this data type format is TIME_FORMAT.
      • isDateTime

        public boolean isDateTime()
        Returns true if this data type format is DATETIME_FORMAT.