All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gov.nasa.arc.pds.xml.generated.LocalIDRelation Maven / Gradle / Ivy

There is a newer version: 2.8.4
Show newest version
//
// 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_Relation class defines a one
 *         directional relationship between two description objects in the
 *         label.
 * 
 * 

Java class for Local_ID_Relation complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="Local_ID_Relation">
 *   <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_from" type="{http://pds.nasa.gov/pds4/pds/v1}id_reference_from" maxOccurs="unbounded"/>
 *         <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_Relation", propOrder = { "comment", "idReferenceFroms", "idReferenceTos", "idReferenceType" }) public class LocalIDRelation { protected String comment; @XmlElement(name = "id_reference_from", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected List idReferenceFroms; @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 idReferenceFroms 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 idReferenceFroms property. * *

* For example, to add a new item, do as follows: *

     *    getIdReferenceFroms().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getIdReferenceFroms() { if (idReferenceFroms == null) { idReferenceFroms = new ArrayList(); } return this.idReferenceFroms; } /** * 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; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy