Class Type

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:
ObjectType, ValueType

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public abstract class Type extends ReferableElement implements Cloneable, com.kscs.util.jaxb.Copyable, com.kscs.util.jaxb.PartialCopyable, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Name of the type. Must be unique in the collection of all types in a given container (i.e. model or package)

Java class for Type complex type

.

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


 <complexType name="Type">
   <complexContent>
     <extension base="{http://www.ivoa.net/xml/VODML/v1}ReferableElement">
       <sequence>
         <element name="extends" type="{http://www.ivoa.net/xml/VODML/v1}ElementRef" minOccurs="0"/>
         <element name="constraint" type="{http://www.ivoa.net/xml/VODML/v1}Constraint" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="abstract" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • _extends

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") protected ElementRef _extends
      Reference to a type (called the base-type) that is extended by the current type (called the subtype). This implements the typical is-a inheritance relationship, similar to the extends relations in XSD and Java, the generaliation in UML, or the subclassOf relation in RDF. Note, VO-DML does not support multiple inheritance. Instances of a subtype are automatic instances of a base type. Polymorphism is assumed: When a role (see below) defines a base type as its datatype, instances of any subtype can be uased as value of the role. Roles defined on a base type are inherited by the subtypes. Relations inherited from a basetype can be 'subsetted', which is similar to overriding their definition. See the definiton of this property on the Relation type.
    • constraints

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") protected List<Constraint> constraints
      Constraints defining valid instances of the type. May be an AttributeConstraint or an expression in some language.
    • _abstract

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") protected Boolean _abstract
  • Constructor Details

  • Method Details

    • getExtends

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public ElementRef getExtends()
      Reference to a type (called the base-type) that is extended by the current type (called the subtype). This implements the typical is-a inheritance relationship, similar to the extends relations in XSD and Java, the generaliation in UML, or the subclassOf relation in RDF. Note, VO-DML does not support multiple inheritance. Instances of a subtype are automatic instances of a base type. Polymorphism is assumed: When a role (see below) defines a base type as its datatype, instances of any subtype can be uased as value of the role. Roles defined on a base type are inherited by the subtypes. Relations inherited from a basetype can be 'subsetted', which is similar to overriding their definition. See the definiton of this property on the Relation type.
      Returns:
      possible object is ElementRef
    • setExtends

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public void setExtends(ElementRef value)
      Sets the value of the extends property.
      Parameters:
      value - allowed object is ElementRef
      See Also:
    • getConstraints

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public List<Constraint> getConstraints()
      Constraints defining valid instances of the type. May be an AttributeConstraint or an expression in some language. Gets the value of the constraints property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the constraints property.

      For example, to add a new item, do as follows:

       getConstraints().add(newItem);
       

      Objects of the following type(s) are allowed in the list Constraint

      Returns:
      The value of the constraints property.
    • isAbstract

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public Boolean isAbstract()
      Gets the value of the abstract property.
      Returns:
      possible object is Boolean
    • setAbstract

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public void setAbstract(Boolean value)
      Sets the value of the abstract property.
      Parameters:
      value - allowed object is Boolean
    • equals

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

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public int hashCode()
      Overrides:
      hashCode in class ReferableElement
    • toString

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public String toString()
      Overrides:
      toString in class ReferableElement
    • append

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+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
      Overrides:
      append in class ReferableElement
    • appendFields

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+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
      Overrides:
      appendFields in class ReferableElement
    • mergeFrom

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

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+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
      Overrides:
      mergeFrom in class ReferableElement
    • clone

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public Type clone()
      Overrides:
      clone in class ReferableElement
    • createCopy

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public Type createCopy()
      Specified by:
      createCopy in interface com.kscs.util.jaxb.Copyable
      Overrides:
      createCopy in class ReferableElement
    • createCopy

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public Type createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
      Specified by:
      createCopy in interface com.kscs.util.jaxb.PartialCopyable
      Overrides:
      createCopy in class ReferableElement
    • copyExcept

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public Type copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree)
      Specified by:
      copyExcept in interface com.kscs.util.jaxb.PartialCopyable
      Overrides:
      copyExcept in class ReferableElement
    • copyOnly

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public Type copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree)
      Specified by:
      copyOnly in interface com.kscs.util.jaxb.PartialCopyable
      Overrides:
      copyOnly in class ReferableElement
    • modifier

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public Type.Modifier modifier()
      Overrides:
      modifier in class ReferableElement
    • copyTo

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public <_B> void copyTo(Type.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="2024-10-20T18:15:02+01:00") public abstract <_B> Type.Builder<_B> newCopyBuilder(_B _parentBuilder)
      Specified by:
      newCopyBuilder in class ReferableElement
    • newCopyBuilder

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public abstract Type.Builder<Void> newCopyBuilder()
      Specified by:
      newCopyBuilder in class ReferableElement
    • copyTo

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public <_B> void copyTo(Type.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="2024-10-20T18:15:02+01:00") public abstract <_B> Type.Builder<_B> newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
      Specified by:
      newCopyBuilder in class ReferableElement
    • newCopyBuilder

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public abstract Type.Builder<Void> newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
      Specified by:
      newCopyBuilder in class ReferableElement
    • visit

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-10-20T18:15:02+01:00") public Type visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
      Overrides:
      visit in class ReferableElement