java.lang.Object
org.javastro.ivoa.entities.resource.dataservice.DataType
All Implemented Interfaces:
org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Direct Known Subclasses:
SimpleDataType, TableDataType

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public class DataType extends Object implements org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
This XML type is used as a parent for defining data types with a restricted set of names.

Java class for DataType complex type

.

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


 <complexType name="DataType">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>token">
       <attribute name="arraysize" type="{http://www.ivoa.net/xml/VODataService/v1.1}ArrayShape" />
       <attribute name="delim" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="extendedType" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="extendedSchema" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <anyAttribute namespace='##other'/>
     </extension>
   </simpleContent>
 </complexType>
 
  • Field Details

    • value

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String value
    • arraysize

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String arraysize
      Leave arraysize empty for scalar values. In version 1.1, this defaulted to 1, which was intended to indicate a scalar. This is now deprecated; an arraysize of 1 should be avoided now, the future interpretation, in accord with VOTable, will be “array of size 1”.
    • delim

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String delim
      This should not be used for VOTable types; there, VOTable (typcially TABLEDATA) conventions for writing arrays are binding.
    • extendedType

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String extendedType
      This element may make use of the extendedSchema attribute to refine the identification of the type. extendedTypes without an extendedSchema mean VOTable xtypes as defined by DALI.
    • extendedSchema

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String extendedSchema
      This attribute is normally ignored if the extendedType attribute is not present. A missing extendedSchema indicates that extendedType is a VOTable xtype.
  • Constructor Details

    • DataType

      public DataType()
      Default no-arg constructor
    • DataType

      public DataType(String value, String arraysize, String delim, String extendedType, String extendedSchema, Map<QName,String> otherAttributes)
      Fully-initialising value constructor
  • Method Details

    • getValue

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String getValue()
      Gets the value of the value property.
      Returns:
      possible object is String
    • setValue

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setValue(String value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is String
    • getArraysize

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String getArraysize()
      Leave arraysize empty for scalar values. In version 1.1, this defaulted to 1, which was intended to indicate a scalar. This is now deprecated; an arraysize of 1 should be avoided now, the future interpretation, in accord with VOTable, will be “array of size 1”.
      Returns:
      possible object is String
    • setArraysize

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setArraysize(String value)
      Sets the value of the arraysize property.
      Parameters:
      value - allowed object is String
      See Also:
    • getDelim

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String getDelim()
      This should not be used for VOTable types; there, VOTable (typcially TABLEDATA) conventions for writing arrays are binding.
      Returns:
      possible object is String
    • setDelim

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setDelim(String value)
      Sets the value of the delim property.
      Parameters:
      value - allowed object is String
      See Also:
    • getExtendedType

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String getExtendedType()
      This element may make use of the extendedSchema attribute to refine the identification of the type. extendedTypes without an extendedSchema mean VOTable xtypes as defined by DALI.
      Returns:
      possible object is String
    • setExtendedType

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setExtendedType(String value)
      Sets the value of the extendedType property.
      Parameters:
      value - allowed object is String
      See Also:
    • getExtendedSchema

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String getExtendedSchema()
      This attribute is normally ignored if the extendedType attribute is not present. A missing extendedSchema indicates that extendedType is a VOTable xtype.
      Returns:
      possible object is String
    • setExtendedSchema

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setExtendedSchema(String value)
      Sets the value of the extendedSchema property.
      Parameters:
      value - allowed object is String
      See Also:
    • getOtherAttributes

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Map<QName,String> getOtherAttributes()
      Gets a map that contains attributes that aren't bound to any typed property on this class.

      the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

      Returns:
      always non-null
    • equals

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String toString()
      Overrides:
      toString in class Object
    • append

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      append in interface org.jvnet.jaxb.lang.ToString
    • appendFields

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb.lang.ToString
    • withValue

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataType withValue(String value)
    • withArraysize

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataType withArraysize(String value)
    • withDelim

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataType withDelim(String value)
    • withExtendedType

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataType withExtendedType(String value)
    • withExtendedSchema

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataType withExtendedSchema(String value)
    • mergeFrom

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void mergeFrom(Object left, Object right)
      Specified by:
      mergeFrom in interface org.jvnet.jaxb.lang.MergeFrom
    • mergeFrom

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)
      Specified by:
      mergeFrom in interface org.jvnet.jaxb.lang.MergeFrom
    • createNewInstance

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Object createNewInstance()
      Specified by:
      createNewInstance in interface org.jvnet.jaxb.lang.MergeFrom