Package gov.nasa.arc.pds.xml.generated
Class LocalIDReference
java.lang.Object
gov.nasa.arc.pds.xml.generated.LocalIDReference
public class LocalIDReference extends Object
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>
-
Field Summary
Fields Modifier and Type Field Description protected Stringcommentprotected List<String>idReferenceTosprotected StringidReferenceType -
Constructor Summary
Constructors Constructor Description LocalIDReference() -
Method Summary
Modifier and Type Method Description StringgetComment()Gets the value of the comment property.List<String>getIdReferenceTos()Gets the value of the idReferenceTos property.StringgetIdReferenceType()Gets the value of the idReferenceType property.voidsetComment(String value)Sets the value of the comment property.voidsetIdReferenceType(String value)Sets the value of the idReferenceType property.
-
Field Details
-
comment
-
idReferenceTos
-
idReferenceType
-
-
Constructor Details
-
LocalIDReference
public LocalIDReference()
-
-
Method Details
-
getComment
Gets the value of the comment property.- Returns:
- possible object is
String
-
setComment
Sets the value of the comment property.- Parameters:
value- allowed object isString
-
getIdReferenceTos
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
setmethod 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
String -
getIdReferenceType
Gets the value of the idReferenceType property.- Returns:
- possible object is
String
-
setIdReferenceType
Sets the value of the idReferenceType property.- Parameters:
value- allowed object isString
-