Class DataType
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 Summary
FieldsModifier and TypeFieldDescriptionprotected StringLeave arraysize empty for scalar values.protected StringThis should not be used for VOTable types; there, VOTable (typcially TABLEDATA) conventions for writing arrays are binding.protected StringThis attribute is normally ignored if the extendedType attribute is not present.protected StringThis element may make use of the extendedSchema attribute to refine the identification of the type.protected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) booleanLeave arraysize empty for scalar values.getDelim()This should not be used for VOTable types; there, VOTable (typcially TABLEDATA) conventions for writing arrays are binding.This attribute is normally ignored if the extendedType attribute is not present.This element may make use of the extendedSchema attribute to refine the identification of the type.Gets a map that contains attributes that aren't bound to any typed property on this class.getValue()Gets the value of the value property.inthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) voidsetArraysize(String value) Sets the value of the arraysize property.voidSets the value of the delim property.voidsetExtendedSchema(String value) Sets the value of the extendedSchema property.voidsetExtendedType(String value) Sets the value of the extendedType property.voidSets the value of the value property.toString()withArraysize(String value) withExtendedSchema(String value) withExtendedType(String value)
-
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 arraysizeLeave 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 delimThis 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 extendedTypeThis 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 extendedSchemaThis attribute is normally ignored if the extendedType attribute is not present. A missing extendedSchema indicates that extendedType is a VOTable xtype.
-
-
Constructor Details
-
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 isString
-
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 isString- 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 isString- 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 isString- 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 isString- 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) -
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() -
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() -
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:
appendin interfaceorg.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:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString
-
withValue
-
withArraysize
-
withDelim
-
withExtendedType
-
withExtendedSchema
-
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:
mergeFromin interfaceorg.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:
mergeFromin interfaceorg.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:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-