Class Vector
java.lang.Object
gov.nasa.arc.pds.xml.generated.Vector
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
FieldsModifier and TypeFieldDescriptionprotected longprotected Stringprotected Stringprotected Stringprotected Stringprotected ReferenceFrameIdprotected Stringprotected List<VectorComponent> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGets the value of the componentCount property.Gets the value of the dataType property.Gets the value of the description property.Gets the value of the localIdentifier property.getName()Gets the value of the name property.Gets the value of the referenceFrameId property.getType()Gets the value of the type property.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.voidSets the value of the name property.voidSets the value of the referenceFrameId property.voidSets 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
-
setName
-
getLocalIdentifier
-
setLocalIdentifier
-
getType
-
setType
-
getDataType
-
setDataType
-
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
-
setDescription
-
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 Jakarta XML Binding 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- Returns:
- The value of the vectorComponents property.
-