org.omg.space.xtce.DescriptionType Maven / Gradle / Ivy
Show all versions of xtcetools Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.03.16 at 05:52:46 PM MST
//
package org.omg.space.xtce;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* An abstract type definition used as the base for NameDescriptionType or OptionalNameDescriptionType. The short description is intended to be used for quick "memory jogger" descriptions of the object.
*
* Java class for DescriptionType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DescriptionType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="LongDescription" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AliasSet" type="{http://www.omg.org/space/xtce}AliasSetType" minOccurs="0"/>
* <element name="AncillaryDataSet" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AncillaryData" maxOccurs="unbounded">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" default="text/plain" />
* <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="shortDescription" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DescriptionType", propOrder = {
"longDescription",
"aliasSet",
"ancillaryDataSet"
})
@XmlSeeAlso({
NameDescriptionType.class,
OptionalNameDescriptionType.class
})
public abstract class DescriptionType {
@XmlElement(name = "LongDescription")
protected String longDescription;
@XmlElement(name = "AliasSet")
protected AliasSetType aliasSet;
@XmlElement(name = "AncillaryDataSet")
protected DescriptionType.AncillaryDataSet ancillaryDataSet;
@XmlAttribute(name = "shortDescription")
protected String shortDescription;
/**
* Gets the value of the longDescription property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLongDescription() {
return longDescription;
}
/**
* Sets the value of the longDescription property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLongDescription(String value) {
this.longDescription = value;
}
/**
* Gets the value of the aliasSet property.
*
* @return
* possible object is
* {@link AliasSetType }
*
*/
public AliasSetType getAliasSet() {
return aliasSet;
}
/**
* Sets the value of the aliasSet property.
*
* @param value
* allowed object is
* {@link AliasSetType }
*
*/
public void setAliasSet(AliasSetType value) {
this.aliasSet = value;
}
/**
* Gets the value of the ancillaryDataSet property.
*
* @return
* possible object is
* {@link DescriptionType.AncillaryDataSet }
*
*/
public DescriptionType.AncillaryDataSet getAncillaryDataSet() {
return ancillaryDataSet;
}
/**
* Sets the value of the ancillaryDataSet property.
*
* @param value
* allowed object is
* {@link DescriptionType.AncillaryDataSet }
*
*/
public void setAncillaryDataSet(DescriptionType.AncillaryDataSet value) {
this.ancillaryDataSet = value;
}
/**
* Gets the value of the shortDescription property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getShortDescription() {
return shortDescription;
}
/**
* Sets the value of the shortDescription property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setShortDescription(String value) {
this.shortDescription = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AncillaryData" maxOccurs="unbounded">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" default="text/plain" />
* <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"ancillaryData"
})
public static class AncillaryDataSet {
@XmlElement(name = "AncillaryData", required = true)
protected List ancillaryData;
/**
* Gets the value of the ancillaryData 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 ancillaryData property.
*
*
* For example, to add a new item, do as follows:
*
* getAncillaryData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DescriptionType.AncillaryDataSet.AncillaryData }
*
*
*/
public List getAncillaryData() {
if (ancillaryData == null) {
ancillaryData = new ArrayList();
}
return this.ancillaryData;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" default="text/plain" />
* <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
public static class AncillaryData {
@XmlValue
protected String value;
@XmlAttribute(name = "name", required = true)
protected String name;
@XmlAttribute(name = "mimeType")
protected String mimeType;
@XmlAttribute(name = "href")
@XmlSchemaType(name = "anyURI")
protected String href;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the mimeType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMimeType() {
if (mimeType == null) {
return "text/plain";
} else {
return mimeType;
}
}
/**
* Sets the value of the mimeType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMimeType(String value) {
this.mimeType = value;
}
/**
* Gets the value of the href property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHref() {
return href;
}
/**
* Sets the value of the href property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHref(String value) {
this.href = value;
}
}
}
}