Class Candidate
- java.lang.Object
-
- gov.nasa.pds.harvest.search.policy.Candidate
-
public class Candidate extends Object
Java class for Candidate complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Candidate"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{https://pds.nasa.gov/software/pds4/harvest/v1}pds3ProductMetadata" minOccurs="0"/> <element ref="{https://pds.nasa.gov/software/pds4/harvest/v1}namespace" maxOccurs="unbounded" minOccurs="0"/> <element ref="{https://pds.nasa.gov/software/pds4/harvest/v1}productMetadata" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Namespace>namespaceprotected Pds3ProductMetadatapds3ProductMetadataprotected List<Pds4ProductMetadata>productMetadata
-
Constructor Summary
Constructors Constructor Description Candidate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Namespace>getNamespace()Gets the value of the namespace property.Pds3ProductMetadatagetPds3ProductMetadata()Gets the value of the pds3ProductMetadata property.List<Pds4ProductMetadata>getProductMetadata()Gets the value of the productMetadata property.voidsetPds3ProductMetadata(Pds3ProductMetadata value)Sets the value of the pds3ProductMetadata property.
-
-
-
Field Detail
-
pds3ProductMetadata
protected Pds3ProductMetadata pds3ProductMetadata
-
productMetadata
protected List<Pds4ProductMetadata> productMetadata
-
-
Method Detail
-
getPds3ProductMetadata
public Pds3ProductMetadata getPds3ProductMetadata()
Gets the value of the pds3ProductMetadata property.- Returns:
- possible object is
Pds3ProductMetadata
-
setPds3ProductMetadata
public void setPds3ProductMetadata(Pds3ProductMetadata value)
Sets the value of the pds3ProductMetadata property.- Parameters:
value- allowed object isPds3ProductMetadata
-
getNamespace
public List<Namespace> getNamespace()
Gets the value of the namespace 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 namespace property.For example, to add a new item, do as follows:
getNamespace().add(newItem);Objects of the following type(s) are allowed in the list
Namespace
-
getProductMetadata
public List<Pds4ProductMetadata> getProductMetadata()
Gets the value of the productMetadata 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 productMetadata property.For example, to add a new item, do as follows:
getProductMetadata().add(newItem);Objects of the following type(s) are allowed in the list
Pds4ProductMetadata
-
-