Class EndorsedVersion
java.lang.Object
org.javastro.ivoa.entities.resource.standard.EndorsedVersion
- All Implemented Interfaces:
org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
@Generated(value="com.sun.tools.xjc.Driver",
comments="JAXB RI v4.0.4",
date="2024-08-01T13:15:43+01:00")
public class EndorsedVersion
extends Object
implements org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Java class for EndorsedVersion complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="EndorsedVersion">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="status" default="n/a">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="rec"/>
<enumeration value="pr"/>
<enumeration value="wd"/>
<enumeration value="iwd"/>
<enumeration value="note"/>
<enumeration value="n/a"/>
</restriction>
</simpleType>
</attribute>
<attribute name="use">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="preferred"/>
<enumeration value="deprecated"/>
</restriction>
</simpleType>
</attribute>
</extension>
</simpleContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringFor values of "rec", "pr", "wd", and "note", the record's referenceURL element should point to the official specification document in the IVOA Document Repository; if the document does not appear there, these values should not be used.protected StringA designation of preference for the version compared to other versions in use.protected String -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorEndorsedVersion(String value, String status, String use) 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) booleanFor values of "rec", "pr", "wd", and "note", the record's referenceURL element should point to the official specification document in the IVOA Document Repository; if the document does not appear there, these values should not be used.getUse()A designation of preference for the version compared to other versions in use.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) voidSets the value of the status property.voidSets the value of the use property.voidSets the value of the value property.toString()withStatus(String value)
-
Field Details
-
value
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String value -
status
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String statusFor values of "rec", "pr", "wd", and "note", the record's referenceURL element should point to the official specification document in the IVOA Document Repository; if the document does not appear there, these values should not be used. -
use
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String useA designation of preference for the version compared to other versions in use.
-
-
Constructor Details
-
EndorsedVersion
public EndorsedVersion()Default no-arg constructor -
EndorsedVersion
Fully-initialising value constructor
-
-
Method Details
-
getValue
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+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="2024-08-01T13:15:43+01:00") public void setValue(String value) Sets the value of the value property.- Parameters:
value- allowed object isString
-
getStatus
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String getStatus()For values of "rec", "pr", "wd", and "note", the record's referenceURL element should point to the official specification document in the IVOA Document Repository; if the document does not appear there, these values should not be used.- Returns:
- possible object is
String
-
setStatus
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setStatus(String value) Sets the value of the status property.- Parameters:
value- allowed object isString- See Also:
-
getUse
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String getUse()A designation of preference for the version compared to other versions in use.- Returns:
- possible object is
String
-
setUse
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setUse(String value) Sets the value of the use property. -
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) - Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString
-
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
-
withValue
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public EndorsedVersion withValue(String value) -
withStatus
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public EndorsedVersion withStatus(String value) -
withUse
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public EndorsedVersion withUse(String value) -
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:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
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:
mergeFromin interfaceorg.jvnet.jaxb.lang.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
-