|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.arc.pds.xml.generated.Quaternion
public class Quaternion
The 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 Summary | |
---|---|
protected String |
description
|
protected String |
localIdentifier
|
protected String |
name
|
protected List<QuaternionComponent> |
quaternionComponents
|
protected String |
type
|
Constructor Summary | |
---|---|
Quaternion()
|
Method Summary | |
---|---|
String |
getDescription()
Gets the value of the description property. |
String |
getLocalIdentifier()
Gets the value of the localIdentifier property. |
String |
getName()
Gets the value of the name property. |
List<QuaternionComponent> |
getQuaternionComponents()
Gets the value of the quaternionComponents property. |
String |
getType()
Gets the value of the type property. |
void |
setDescription(String value)
Sets the value of the description property. |
void |
setLocalIdentifier(String value)
Sets the value of the localIdentifier property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setType(String value)
Sets the value of the type property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String name
protected String localIdentifier
protected String type
protected String description
protected List<QuaternionComponent> quaternionComponents
Constructor Detail |
---|
public Quaternion()
Method Detail |
---|
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getLocalIdentifier()
String
public void setLocalIdentifier(String value)
value
- allowed object is
String
public String getType()
String
public void setType(String value)
value
- allowed object is
String
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public List<QuaternionComponent> getQuaternionComponents()
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 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |