gov.nasa.arc.pds.xml.generated.PropertyMapEntry 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 property map entry consists of a property
* name and one or more values.
*
* Java class for Property_Map_Entry complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Property_Map_Entry">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="property_map_type" type="{http://pds.nasa.gov/pds4/pds/v1}property_map_type" minOccurs="0"/>
* <element name="property_map_subtype" type="{http://pds.nasa.gov/pds4/pds/v1}property_map_subtype" minOccurs="0"/>
* <element name="property_name" type="{http://pds.nasa.gov/pds4/pds/v1}property_name"/>
* <element name="property_value" type="{http://pds.nasa.gov/pds4/pds/v1}property_value" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Property_Map_Entry", propOrder = {
"propertyMapType",
"propertyMapSubtype",
"propertyName",
"propertyValues"
})
public class PropertyMapEntry {
@XmlElement(name = "property_map_type")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String propertyMapType;
@XmlElement(name = "property_map_subtype")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String propertyMapSubtype;
@XmlElement(name = "property_name", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String propertyName;
@XmlElement(name = "property_value", required = true)
protected List propertyValues;
/**
* Gets the value of the propertyMapType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPropertyMapType() {
return propertyMapType;
}
/**
* Sets the value of the propertyMapType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPropertyMapType(String value) {
this.propertyMapType = value;
}
/**
* Gets the value of the propertyMapSubtype property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPropertyMapSubtype() {
return propertyMapSubtype;
}
/**
* Sets the value of the propertyMapSubtype property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPropertyMapSubtype(String value) {
this.propertyMapSubtype = value;
}
/**
* Gets the value of the propertyName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPropertyName() {
return propertyName;
}
/**
* Sets the value of the propertyName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPropertyName(String value) {
this.propertyName = value;
}
/**
* Gets the value of the propertyValues 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 propertyValues property.
*
*
* For example, to add a new item, do as follows:
*
* getPropertyValues().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getPropertyValues() {
if (propertyValues == null) {
propertyValues = new ArrayList();
}
return this.propertyValues;
}
}