gov.nasa.arc.pds.xml.generated.LocalIDReference Maven / Gradle / Ivy
Show all versions of pds4-jparser Show documentation
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.4
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2021.12.10 at 07:24:03 AM GMT
//
package gov.nasa.arc.pds.xml.generated;
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.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* The Local_ID_Reference class defines a one
* directional relationship by referencing another description
* object in the label.
*
* Java class for Local_ID_Reference complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Local_ID_Reference">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="comment" type="{http://pds.nasa.gov/pds4/pds/v1}comment" minOccurs="0"/>
* <element name="id_reference_to" type="{http://pds.nasa.gov/pds4/pds/v1}id_reference_to" maxOccurs="unbounded"/>
* <element name="id_reference_type" type="{http://pds.nasa.gov/pds4/pds/v1}id_reference_type"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Local_ID_Reference", propOrder = {
"comment",
"idReferenceTos",
"idReferenceType"
})
public class LocalIDReference {
protected String comment;
@XmlElement(name = "id_reference_to", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected List idReferenceTos;
@XmlElement(name = "id_reference_type", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String idReferenceType;
/**
* Gets the value of the comment property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComment() {
return comment;
}
/**
* Sets the value of the comment property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComment(String value) {
this.comment = value;
}
/**
* Gets the value of the idReferenceTos 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 idReferenceTos property.
*
*
* For example, to add a new item, do as follows:
*
* getIdReferenceTos().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getIdReferenceTos() {
if (idReferenceTos == null) {
idReferenceTos = new ArrayList();
}
return this.idReferenceTos;
}
/**
* Gets the value of the idReferenceType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdReferenceType() {
return idReferenceType;
}
/**
* Sets the value of the idReferenceType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdReferenceType(String value) {
this.idReferenceType = value;
}
}