Package gov.nasa.arc.pds.xml.generated
Class Quaternion
- java.lang.Object
- 
- gov.nasa.arc.pds.xml.generated.Quaternion
 
- 
 public class Quaternion extends java.lang.ObjectThe Quaternion class models a mathematical construct that consists of four individual numeric components. Quaternions are a convenient mechanism for encapsulating orientation information since they require only four units of numeric storage, as opposed to the nine needed for a rotation matrix.Java class for Quaternion complex type .The following schema fragment specifies the expected content contained within this class. <complexType name="Quaternion"> <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="description" type="{http://pds.nasa.gov/pds4/pds/v1}description"/> <element name="Quaternion_Component" type="{http://pds.nasa.gov/pds4/pds/v1}Quaternion_Component" maxOccurs="4" minOccurs="4"/> </sequence> </restriction> </complexContent> </complexType>
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.Stringdescriptionprotected java.lang.StringlocalIdentifierprotected java.lang.Stringnameprotected java.util.List<QuaternionComponent>quaternionComponentsprotected java.lang.Stringtype
 - 
Constructor SummaryConstructors Constructor Description Quaternion()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Gets the value of the description property.java.lang.StringgetLocalIdentifier()Gets the value of the localIdentifier property.java.lang.StringgetName()Gets the value of the name property.java.util.List<QuaternionComponent>getQuaternionComponents()Gets the value of the quaternionComponents property.java.lang.StringgetType()Gets the value of the type property.voidsetDescription(java.lang.String value)Sets the value of the description property.voidsetLocalIdentifier(java.lang.String value)Sets the value of the localIdentifier property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetType(java.lang.String value)Sets the value of the type property.
 
- 
- 
- 
Field Detail- 
nameprotected java.lang.String name 
 - 
localIdentifierprotected java.lang.String localIdentifier 
 - 
typeprotected java.lang.String type 
 - 
descriptionprotected java.lang.String description 
 - 
quaternionComponentsprotected java.util.List<QuaternionComponent> quaternionComponents 
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() Gets the value of the name property.- Returns:
- possible object is
     String
 
 - 
setNamepublic void setName(java.lang.String value) Sets the value of the name property.- Parameters:
- value- allowed object is- String
 
 - 
getLocalIdentifierpublic java.lang.String getLocalIdentifier() Gets the value of the localIdentifier property.- Returns:
- possible object is
     String
 
 - 
setLocalIdentifierpublic void setLocalIdentifier(java.lang.String value) Sets the value of the localIdentifier property.- Parameters:
- value- allowed object is- String
 
 - 
getTypepublic java.lang.String getType() Gets the value of the type property.- Returns:
- possible object is
     String
 
 - 
setTypepublic void setType(java.lang.String value) Sets the value of the type property.- Parameters:
- value- allowed object is- String
 
 - 
getDescriptionpublic java.lang.String getDescription() Gets the value of the description property.- Returns:
- possible object is
     String
 
 - 
setDescriptionpublic void setDescription(java.lang.String value) Sets the value of the description property.- Parameters:
- value- allowed object is- String
 
 - 
getQuaternionComponentspublic java.util.List<QuaternionComponent> getQuaternionComponents() Gets the value of the quaternionComponents 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 quaternionComponents property.For example, to add a new item, do as follows: getQuaternionComponents().add(newItem); Objects of the following type(s) are allowed in the list QuaternionComponent- Returns:
- The value of the quaternionComponents property.
 
 
- 
 
-