gov.nasa.arc.pds.xml.generated.ScienceFacets 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 Science_Facets class contains the
* science-related search facets. It is optional and may be
* repeated if an product has facets related to, for example, two
* different disciplines (as defined by the discipline_name facet).
* Note that Science_Facets was modeled with Discipline_Facets as a
* component and Discipline_Facets was modeled with Group_Facet1
* and Group_Facet2 as components. This dependency hierarchy was
* flattened and only Science_Facets exists in the
* schema.
*
* Java class for Science_Facets complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Science_Facets">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="wavelength_range" type="{http://pds.nasa.gov/pds4/pds/v1}wavelength_range" maxOccurs="unbounded" minOccurs="0"/>
* <element name="domain" type="{http://pds.nasa.gov/pds4/pds/v1}domain" maxOccurs="unbounded" minOccurs="0"/>
* <element name="discipline_name" type="{http://pds.nasa.gov/pds4/pds/v1}ASCII_Short_String_Collapsed"/>
* <element name="facet1" type="{http://pds.nasa.gov/pds4/pds/v1}ASCII_Short_String_Collapsed" minOccurs="0"/>
* <element name="subfacet1" type="{http://pds.nasa.gov/pds4/pds/v1}ASCII_Short_String_Collapsed" maxOccurs="unbounded" minOccurs="0"/>
* <element name="facet2" type="{http://pds.nasa.gov/pds4/pds/v1}ASCII_Short_String_Collapsed" minOccurs="0"/>
* <element name="subfacet2" type="{http://pds.nasa.gov/pds4/pds/v1}ASCII_Short_String_Collapsed" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Science_Facets", propOrder = {
"wavelengthRanges",
"domains",
"disciplineName",
"facet1",
"subfacet1S",
"facet2",
"subfacet2S"
})
public class ScienceFacets {
@XmlElement(name = "wavelength_range", nillable = true)
protected List wavelengthRanges;
@XmlElement(name = "domain")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected List domains;
@XmlElement(name = "discipline_name", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String disciplineName;
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String facet1;
@XmlElement(name = "subfacet1")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected List subfacet1S;
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String facet2;
@XmlElement(name = "subfacet2")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected List subfacet2S;
/**
* Gets the value of the wavelengthRanges 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 wavelengthRanges property.
*
*
* For example, to add a new item, do as follows:
*
* getWavelengthRanges().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link WavelengthRange }
*
*
*/
public List getWavelengthRanges() {
if (wavelengthRanges == null) {
wavelengthRanges = new ArrayList();
}
return this.wavelengthRanges;
}
/**
* Gets the value of the domains 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 domains property.
*
*
* For example, to add a new item, do as follows:
*
* getDomains().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getDomains() {
if (domains == null) {
domains = new ArrayList();
}
return this.domains;
}
/**
* Gets the value of the disciplineName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDisciplineName() {
return disciplineName;
}
/**
* Sets the value of the disciplineName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDisciplineName(String value) {
this.disciplineName = value;
}
/**
* Gets the value of the facet1 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFacet1() {
return facet1;
}
/**
* Sets the value of the facet1 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFacet1(String value) {
this.facet1 = value;
}
/**
* Gets the value of the subfacet1S 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 subfacet1S property.
*
*
* For example, to add a new item, do as follows:
*
* getSubfacet1s().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getSubfacet1s() {
if (subfacet1S == null) {
subfacet1S = new ArrayList();
}
return this.subfacet1S;
}
/**
* Gets the value of the facet2 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFacet2() {
return facet2;
}
/**
* Sets the value of the facet2 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFacet2(String value) {
this.facet2 = value;
}
/**
* Gets the value of the subfacet2S 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 subfacet2S property.
*
*
* For example, to add a new item, do as follows:
*
* getSubfacet2s().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getSubfacet2s() {
if (subfacet2S == null) {
subfacet2S = new ArrayList();
}
return this.subfacet2S;
}
}