Class PrimitiveType

All Implemented Interfaces:
org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Direct Known Subclasses:
Enumeration

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public class PrimitiveType extends ValueType implements org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Atomic/simple type. Defined by a single value. Generally a built in type from the IVOA profile model, or a subclass of one of those types.

Java class for PrimitiveType complex type

.

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


 <complexType name="PrimitiveType">
   <complexContent>
     <extension base="{http://www.ivoa.net/xml/VODML/v1}ValueType">
     </extension>
   </complexContent>
 </complexType>
 
  • Constructor Details

    • PrimitiveType

      public PrimitiveType()
      Default no-arg constructor
    • PrimitiveType

      public PrimitiveType(String vodmlId, String name, String description, String id, ElementRef _extends, List<Constraint> constraints, Boolean _abstract)
      Fully-initialising value constructor
  • Method Details

    • 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 ValueType
    • 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 ValueType
    • 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 ValueType
    • 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
      Overrides:
      append in class ValueType
    • 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
      Overrides:
      appendFields in class ValueType
    • withExtends

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public PrimitiveType withExtends(ElementRef value)
      Overrides:
      withExtends in class ValueType
    • withConstraints

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public PrimitiveType withConstraints(Constraint... values)
      Overrides:
      withConstraints in class ValueType
    • withConstraints

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public PrimitiveType withConstraints(Collection<Constraint> values)
      Overrides:
      withConstraints in class ValueType
    • withAbstract

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public PrimitiveType withAbstract(Boolean value)
      Overrides:
      withAbstract in class ValueType
    • withVodmlId

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

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

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

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public PrimitiveType withId(String value)
      Overrides:
      withId in class ValueType
    • 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
      Overrides:
      mergeFrom in class ValueType
    • 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
      Overrides:
      mergeFrom in class ValueType
    • 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