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 Details

    • name

      protected String name
    • localIdentifier

      protected String localIdentifier
    • type

      protected String type
    • dataType

      protected String dataType
    • referenceFrameId

      protected ReferenceFrameId referenceFrameId
    • componentCount

      protected long componentCount
    • description

      protected String description
    • vectorComponents

      protected List<VectorComponent> vectorComponents
  • Constructor Details

    • Vector

      public Vector()
  • Method Details

    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName​(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getLocalIdentifier

      public String getLocalIdentifier()
      Gets the value of the localIdentifier property.
      Returns:
      possible object is String
    • setLocalIdentifier

      public void setLocalIdentifier​(String value)
      Sets the value of the localIdentifier property.
      Parameters:
      value - allowed object is String
    • getType

      public String getType()
      Gets the value of the type property.
      Returns:
      possible object is String
    • setType

      public void setType​(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
    • getDataType

      public String getDataType()
      Gets the value of the dataType property.
      Returns:
      possible object is String
    • setDataType

      public void setDataType​(String value)
      Sets the value of the dataType property.
      Parameters:
      value - allowed object is String
    • getReferenceFrameId

      public ReferenceFrameId getReferenceFrameId()
      Gets the value of the referenceFrameId property.
      Returns:
      possible object is ReferenceFrameId
    • setReferenceFrameId

      public void setReferenceFrameId​(ReferenceFrameId value)
      Sets the value of the referenceFrameId property.
      Parameters:
      value - allowed object is ReferenceFrameId
    • 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

      public String getDescription()
      Gets the value of the description property.
      Returns:
      possible object is String
    • setDescription

      public void setDescription​(String value)
      Sets the value of the description property.
      Parameters:
      value - allowed object is String
    • getVectorComponents

      public List<VectorComponent> 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 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 VectorComponent