Package org.javastro.ivoa.entities.vodml
Class PrimitiveType
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
- 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>
-
Field Summary
Fields inherited from class org.javastro.ivoa.entities.vodml.Type
_abstract, _extends, constraintsFields inherited from class org.javastro.ivoa.entities.vodml.ReferableElement
description, id, name, vodmlId -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorPrimitiveType(String vodmlId, String name, String description, String id, ElementRef _extends, List<Constraint> constraints, Boolean _abstract) 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) booleaninthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) toString()withAbstract(Boolean value) withConstraints(Collection<Constraint> values) withConstraints(Constraint... values) withDescription(String value) withExtends(ElementRef value) withVodmlId(String value) Methods inherited from class org.javastro.ivoa.entities.vodml.Type
getConstraints, getExtends, isAbstract, setAbstract, setExtendsMethods inherited from class org.javastro.ivoa.entities.vodml.ReferableElement
getDescription, getId, getName, getVodmlId, setDescription, setId, setName, setVodmlId
-
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) -
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) -
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- Overrides:
appendFieldsin classValueType
-
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:
withExtendsin classValueType
-
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:
withConstraintsin classValueType
-
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:
withConstraintsin classValueType
-
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:
withAbstractin classValueType
-
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:
withVodmlIdin classValueType
-
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) -
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:
withDescriptionin classValueType
-
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) -
mergeFrom
-
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
-