Class DataType
java.lang.Object
org.javastro.ivoa.entities.resource.dataservice.DataType
- All Implemented Interfaces:
com.kscs.util.jaxb.Copyable,com.kscs.util.jaxb.PartialCopyable,Cloneable,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="2025-06-24T19:08:06+01:00")
public class DataType
extends Object
implements Cloneable, com.kscs.util.jaxb.Copyable, com.kscs.util.jaxb.PartialCopyable, 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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassstatic classstatic classstatic classDataType.Selector<TRoot extends com.kscs.util.jaxb.Selector<TRoot,?>, TParent> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DataType.Modifierprotected 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) static DataType.Builder<Void>builder()clone()copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) static DataType.Builder<Void>copyExcept(DataType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static <_B> DataType.Builder<_B>static <_B> DataType.Builder<_B>copyOf(DataType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) static DataType.Builder<Void><_B> voidcopyTo(DataType.Builder<_B> _other) Copies all state of this object to a builder.<_B> voidcopyTo(DataType.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) Copies all state of this object to a builder.createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) 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) modifier()<_B> DataType.Builder<_B>newCopyBuilder(_B _parentBuilder) <_B> DataType.Builder<_B>newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) 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()visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-
Field Details
-
value
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") protected String value -
arraysize
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+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="2025-06-24T19:08:06+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="2025-06-24T19:08:06+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="2025-06-24T19:08:06+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. -
__cachedModifier__
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") protected transient DataType.Modifier __cachedModifier__
-
-
Constructor Details
-
Method Details
-
getValue
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+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="2025-06-24T19:08:06+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="2025-06-24T19:08:06+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="2025-06-24T19:08:06+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="2025-06-24T19:08:06+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="2025-06-24T19:08:06+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="2025-06-24T19:08:06+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="2025-06-24T19:08:06+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="2025-06-24T19:08:06+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="2025-06-24T19:08:06+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="2025-06-24T19:08:06+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="2025-06-24T19:08:06+01:00") public boolean equals(Object object) -
hashCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public int hashCode() -
toString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public String toString() -
append
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+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="2025-06-24T19:08:06+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
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+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="2025-06-24T19:08:06+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="2025-06-24T19:08:06+01:00") public Object createNewInstance()- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-
clone
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public DataType clone() -
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public DataType createCopy()- Specified by:
createCopyin interfacecom.kscs.util.jaxb.Copyable
-
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public DataType createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Specified by:
createCopyin interfacecom.kscs.util.jaxb.PartialCopyable
-
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public DataType copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyExceptin interfacecom.kscs.util.jaxb.PartialCopyable
-
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public DataType copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyOnlyin interfacecom.kscs.util.jaxb.PartialCopyable
-
modifier
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public DataType.Modifier modifier() -
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public <_B> void copyTo(DataType.Builder<_B> _other) Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public <_B> DataType.Builder<_B> newCopyBuilder(_B _parentBuilder) -
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public DataType.Builder<Void> newCopyBuilder() -
builder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public static DataType.Builder<Void> builder() -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public static <_B> DataType.Builder<_B> copyOf(DataType _other) -
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public <_B> void copyTo(DataType.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public <_B> DataType.Builder<_B> newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public DataType.Builder<Void> newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public static <_B> DataType.Builder<_B> copyOf(DataType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public static DataType.Builder<Void> copyExcept(DataType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public static DataType.Builder<Void> copyOnly(DataType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
visit
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-06-24T19:08:06+01:00") public DataType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-