Package org.javastro.ivoa.entities.vodml
Class Enumeration
java.lang.Object
org.javastro.ivoa.entities.vodml.ReferableElement
org.javastro.ivoa.entities.vodml.Type
org.javastro.ivoa.entities.vodml.ValueType
org.javastro.ivoa.entities.vodml.PrimitiveType
org.javastro.ivoa.entities.vodml.Enumeration
- All Implemented Interfaces:
com.kscs.util.jaxb.Copyable,com.kscs.util.jaxb.PartialCopyable,Cloneable,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
@Generated(value="com.sun.tools.xjc.Driver",
comments="JAXB RI v4.0.4",
date="2025-09-10T09:00:07+01:00")
public class Enumeration
extends PrimitiveType
implements Cloneable, com.kscs.util.jaxb.Copyable, com.kscs.util.jaxb.PartialCopyable, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
A primitive type with a limited, discrete set of values.
May explicitly extend a PrimitiveType. Its values must be compatible with that type then.
TBD Should define what it
might mean for an enumeraiton to extend another enumeration.
Should it restrict the possible values further? Or should it add to the values? Or ...?
Java class for Enumeration complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Enumeration">
<complexContent>
<extension base="{http://www.ivoa.net/xml/VODML/v1}PrimitiveType">
<sequence>
<element name="literal" type="{http://www.ivoa.net/xml/VODML/v1}EnumLiteral" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassstatic classstatic classstatic classEnumeration.Selector<TRoot extends com.kscs.util.jaxb.Selector<TRoot,?>, TParent> -
Field Summary
FieldsFields inherited from class org.javastro.ivoa.entities.vodml.Type
_abstract, _extends, constraintsFields inherited from class org.javastro.ivoa.entities.vodml.ReferableElement
__cachedModifier__, description, id, name, vodmlId -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorEnumeration(String vodmlId, String name, String description, String id, ElementRef _extends, List<Constraint> constraints, Boolean _abstract, List<EnumLiteral> literals) Fully-initialising value constructor -
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 Enumeration.Builder<Void>builder()clone()copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) static Enumeration.Builder<Void>copyExcept(Enumeration _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static Enumeration.Builder<Void>copyExcept(PrimitiveType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static Enumeration.Builder<Void>copyExcept(ReferableElement _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static Enumeration.Builder<Void>copyExcept(Type _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static Enumeration.Builder<Void>copyExcept(ValueType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static <_B> Enumeration.Builder<_B>copyOf(Enumeration _other) static <_B> Enumeration.Builder<_B>copyOf(Enumeration _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) static <_B> Enumeration.Builder<_B>copyOf(PrimitiveType _other) static <_B> Enumeration.Builder<_B>copyOf(PrimitiveType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) static <_B> Enumeration.Builder<_B>copyOf(ReferableElement _other) static <_B> Enumeration.Builder<_B>copyOf(ReferableElement _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) static <_B> Enumeration.Builder<_B>static <_B> Enumeration.Builder<_B>copyOf(Type _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) static <_B> Enumeration.Builder<_B>static <_B> Enumeration.Builder<_B>copyOf(ValueType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) static Enumeration.Builder<Void>copyOnly(Enumeration _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static Enumeration.Builder<Void>copyOnly(PrimitiveType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static Enumeration.Builder<Void>copyOnly(ReferableElement _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static Enumeration.Builder<Void>static Enumeration.Builder<Void><_B> voidcopyTo(Enumeration.Builder<_B> _other) Copies all state of this object to a builder.<_B> voidcopyTo(Enumeration.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) booleanTODO Gets the value of the literals 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> Enumeration.Builder<_B>newCopyBuilder(_B _parentBuilder) <_B> Enumeration.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) toString()visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) Methods inherited from class org.javastro.ivoa.entities.vodml.PrimitiveType
copyTo, copyToMethods inherited from class org.javastro.ivoa.entities.vodml.Type
copyTo, copyTo, getConstraints, getExtends, isAbstract, setAbstract, setExtendsMethods inherited from class org.javastro.ivoa.entities.vodml.ReferableElement
copyTo, copyTo, getDescription, getId, getName, getVodmlId, setDescription, setId, setName, setVodmlId
-
Field Details
-
literals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") protected List<EnumLiteral> literalsTODO
-
-
Constructor Details
-
Enumeration
public Enumeration()Default no-arg constructor -
Enumeration
public Enumeration(String vodmlId, String name, String description, String id, ElementRef _extends, List<Constraint> constraints, Boolean _abstract, List<EnumLiteral> literals) Fully-initialising value constructor
-
-
Method Details
-
getLiterals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public List<EnumLiteral> getLiterals()TODO Gets the value of the literals 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
setmethod for the literals property.For example, to add a new item, do as follows:
getLiterals().add(newItem);
Objects of the following type(s) are allowed in the list
EnumLiteral- Returns:
- The value of the literals property.
-
equals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public boolean equals(Object object) - Overrides:
equalsin classPrimitiveType
-
hashCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public int hashCode()- Overrides:
hashCodein classPrimitiveType
-
toString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public String toString()- Overrides:
toStringin classPrimitiveType
-
append
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+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- Overrides:
appendin classPrimitiveType
-
appendFields
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+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- Overrides:
appendFieldsin classPrimitiveType
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public void mergeFrom(Object left, Object right) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classPrimitiveType
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+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- Overrides:
mergeFromin classPrimitiveType
-
createNewInstance
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Object createNewInstance()- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
createNewInstancein classPrimitiveType
-
clone
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Enumeration clone()- Overrides:
clonein classPrimitiveType
-
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Enumeration createCopy()- Specified by:
createCopyin interfacecom.kscs.util.jaxb.Copyable- Overrides:
createCopyin classPrimitiveType
-
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Enumeration createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Specified by:
createCopyin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
createCopyin classPrimitiveType
-
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Enumeration copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyExceptin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
copyExceptin classPrimitiveType
-
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Enumeration copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyOnlyin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
copyOnlyin classPrimitiveType
-
modifier
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Enumeration.Modifier modifier()- Overrides:
modifierin classPrimitiveType
-
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public <_B> void copyTo(Enumeration.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-09-10T09:00:07+01:00") public <_B> Enumeration.Builder<_B> newCopyBuilder(_B _parentBuilder) - Overrides:
newCopyBuilderin classPrimitiveType
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Enumeration.Builder<Void> newCopyBuilder()- Overrides:
newCopyBuilderin classPrimitiveType
-
builder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static Enumeration.Builder<Void> builder() -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> Enumeration.Builder<_B> copyOf(ReferableElement _other) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> Enumeration.Builder<_B> copyOf(Type _other) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> Enumeration.Builder<_B> copyOf(ValueType _other) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> Enumeration.Builder<_B> copyOf(PrimitiveType _other) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> Enumeration.Builder<_B> copyOf(Enumeration _other) -
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public <_B> void copyTo(Enumeration.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-09-10T09:00:07+01:00") public <_B> Enumeration.Builder<_B> newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Overrides:
newCopyBuilderin classPrimitiveType
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Enumeration.Builder<Void> newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Overrides:
newCopyBuilderin classPrimitiveType
-
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> Enumeration.Builder<_B> copyOf(ReferableElement _other, 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-09-10T09:00:07+01:00") public static <_B> Enumeration.Builder<_B> copyOf(Type _other, 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-09-10T09:00:07+01:00") public static <_B> Enumeration.Builder<_B> copyOf(ValueType _other, 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-09-10T09:00:07+01:00") public static <_B> Enumeration.Builder<_B> copyOf(PrimitiveType _other, 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-09-10T09:00:07+01:00") public static <_B> Enumeration.Builder<_B> copyOf(Enumeration _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-09-10T09:00:07+01:00") public static Enumeration.Builder<Void> copyExcept(ReferableElement _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static Enumeration.Builder<Void> copyExcept(Type _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static Enumeration.Builder<Void> copyExcept(ValueType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static Enumeration.Builder<Void> copyExcept(PrimitiveType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static Enumeration.Builder<Void> copyExcept(Enumeration _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static Enumeration.Builder<Void> copyOnly(ReferableElement _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static Enumeration.Builder<Void> copyOnly(Type _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static Enumeration.Builder<Void> copyOnly(ValueType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static Enumeration.Builder<Void> copyOnly(PrimitiveType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static Enumeration.Builder<Void> copyOnly(Enumeration _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
visit
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Enumeration visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) - Overrides:
visitin classPrimitiveType
-