gov.nasa.arc.pds.xml.generated.Vector 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.XmlID;
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 Vector class provides the components of
* either a velocity or position vector.
*
* Java class for Vector complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Vector">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="name" type="{http://pds.nasa.gov/pds4/pds/v1}name"/>
* <element name="local_identifier" type="{http://pds.nasa.gov/pds4/pds/v1}local_identifier" minOccurs="0"/>
* <element name="type" type="{http://pds.nasa.gov/pds4/pds/v1}type"/>
* <element name="data_type" type="{http://pds.nasa.gov/pds4/pds/v1}data_type"/>
* <element name="reference_frame_id" type="{http://pds.nasa.gov/pds4/pds/v1}reference_frame_id"/>
* <element name="vector_components" type="{http://pds.nasa.gov/pds4/pds/v1}vector_components"/>
* <element name="description" type="{http://pds.nasa.gov/pds4/pds/v1}description"/>
* <element name="Vector_Component" type="{http://pds.nasa.gov/pds4/pds/v1}Vector_Component" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Vector", propOrder = {
"name",
"localIdentifier",
"type",
"dataType",
"referenceFrameId",
"componentCount",
"description",
"vectorComponents"
})
public class Vector {
@XmlElement(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String name;
@XmlElement(name = "local_identifier")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String localIdentifier;
@XmlElement(required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String type;
@XmlElement(name = "data_type", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String dataType;
@XmlElement(name = "reference_frame_id", required = true, nillable = true)
protected ReferenceFrameId referenceFrameId;
@XmlElement(name = "vector_components")
protected long componentCount;
@XmlElement(required = true)
protected String description;
@XmlElement(name = "Vector_Component", required = true)
protected List vectorComponents;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the localIdentifier property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLocalIdentifier() {
return localIdentifier;
}
/**
* Sets the value of the localIdentifier property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLocalIdentifier(String value) {
this.localIdentifier = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the dataType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDataType() {
return dataType;
}
/**
* Sets the value of the dataType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDataType(String value) {
this.dataType = value;
}
/**
* Gets the value of the referenceFrameId property.
*
* @return
* possible object is
* {@link ReferenceFrameId }
*
*/
public ReferenceFrameId getReferenceFrameId() {
return referenceFrameId;
}
/**
* Sets the value of the referenceFrameId property.
*
* @param value
* allowed object is
* {@link ReferenceFrameId }
*
*/
public void setReferenceFrameId(ReferenceFrameId value) {
this.referenceFrameId = value;
}
/**
* Gets the value of the componentCount property.
*
*/
public long getComponentCount() {
return componentCount;
}
/**
* Sets the value of the componentCount property.
*
*/
public void setComponentCount(long value) {
this.componentCount = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the vectorComponents 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 vectorComponents property.
*
*
* For example, to add a new item, do as follows:
*
* getVectorComponents().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VectorComponent }
*
*
*/
public List getVectorComponents() {
if (vectorComponents == null) {
vectorComponents = new ArrayList();
}
return this.vectorComponents;
}
}