Class DataFormat

  • All Implemented Interfaces:
    Serializable

    public class DataFormat
    extends Object
    implements Serializable
    Specification for data formatting of the annotated field.

    Java class for anonymous complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute name="dataType" use="required" type="{http://www.boomi.com/connector/annotation}DataType" />
           <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • format

        protected String format
      • EMPTY_INSTANCE

        public static final DataFormat EMPTY_INSTANCE
    • Constructor Detail

      • DataFormat

        public DataFormat()
    • Method Detail

      • getDataType

        public DataType getDataType()
        Indicates the data type of this element/attribute
        Returns:
        possible object is DataType
      • setDataType

        public void setDataType​(DataType value)
        Sets the value of the dataType property.
        Parameters:
        value - allowed object is DataType
      • getFormat

        public String getFormat()
        Indicates the format of this data element/attribute
        Returns:
        possible object is String
      • setFormat

        public void setFormat​(String value)
        Sets the value of the format property.
        Parameters:
        value - allowed object is String
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • copy

        public DataFormat copy()
        Deep copies the fields of the this model into a new instance of this class and returns it.
      • copy

        public DataFormat copy​(boolean isDeep)
        Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.
      • copy

        protected DataFormat copy​(DataFormat nobj,
                                  boolean isDeep)
        Copies the fields of the this model (optionally deeply) into the given instance and returns it.
      • withDataType

        public DataFormat withDataType​(DataType newValue)
        Sets the dataType property to the given newValue and returns this instance.
      • withFormat

        public DataFormat withFormat​(String newValue)
        Sets the format property to the given newValue and returns this instance.