Package gov.nasa.arc.pds.xml.generated
Class Vector
java.lang.Object
gov.nasa.arc.pds.xml.generated.Vector
public class Vector extends Object
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>
-
Field Summary
Fields Modifier and Type Field Description protected longcomponentCountprotected StringdataTypeprotected Stringdescriptionprotected StringlocalIdentifierprotected Stringnameprotected ReferenceFrameIdreferenceFrameIdprotected Stringtypeprotected List<VectorComponent>vectorComponents -
Constructor Summary
Constructors Constructor Description Vector() -
Method Summary
Modifier and Type Method Description longgetComponentCount()Gets the value of the componentCount property.StringgetDataType()Gets the value of the dataType property.StringgetDescription()Gets the value of the description property.StringgetLocalIdentifier()Gets the value of the localIdentifier property.StringgetName()Gets the value of the name property.ReferenceFrameIdgetReferenceFrameId()Gets the value of the referenceFrameId property.StringgetType()Gets the value of the type property.List<VectorComponent>getVectorComponents()Gets the value of the vectorComponents property.voidsetComponentCount(long value)Sets the value of the componentCount property.voidsetDataType(String value)Sets the value of the dataType property.voidsetDescription(String value)Sets the value of the description property.voidsetLocalIdentifier(String value)Sets the value of the localIdentifier property.voidsetName(String value)Sets the value of the name property.voidsetReferenceFrameId(ReferenceFrameId value)Sets the value of the referenceFrameId property.voidsetType(String value)Sets the value of the type property.
-
Field Details
-
name
-
localIdentifier
-
type
-
dataType
-
referenceFrameId
-
componentCount
protected long componentCount -
description
-
vectorComponents
-
-
Constructor Details
-
Vector
public Vector()
-
-
Method Details
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getLocalIdentifier
Gets the value of the localIdentifier property.- Returns:
- possible object is
String
-
setLocalIdentifier
Sets the value of the localIdentifier property.- Parameters:
value- allowed object isString
-
getType
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isString
-
getDataType
Gets the value of the dataType property.- Returns:
- possible object is
String
-
setDataType
Sets the value of the dataType property.- Parameters:
value- allowed object isString
-
getReferenceFrameId
Gets the value of the referenceFrameId property.- Returns:
- possible object is
ReferenceFrameId
-
setReferenceFrameId
Sets the value of the referenceFrameId property.- Parameters:
value- allowed object isReferenceFrameId
-
getComponentCount
public long getComponentCount()Gets the value of the componentCount property. -
setComponentCount
public void setComponentCount(long value)Sets the value of the componentCount property. -
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getVectorComponents
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
setmethod 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
VectorComponent
-