Package gov.nasa.arc.pds.xml.generated
Class Vector
- java.lang.Object
-
- gov.nasa.arc.pds.xml.generated.Vector
-
public class Vector extends java.lang.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 long
componentCount
protected java.lang.String
dataType
protected java.lang.String
description
protected java.lang.String
localIdentifier
protected java.lang.String
name
protected ReferenceFrameId
referenceFrameId
protected java.lang.String
type
protected java.util.List<VectorComponent>
vectorComponents
-
Constructor Summary
Constructors Constructor Description Vector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getComponentCount()
Gets the value of the componentCount property.java.lang.String
getDataType()
Gets the value of the dataType property.java.lang.String
getDescription()
Gets the value of the description property.java.lang.String
getLocalIdentifier()
Gets the value of the localIdentifier property.java.lang.String
getName()
Gets the value of the name property.ReferenceFrameId
getReferenceFrameId()
Gets the value of the referenceFrameId property.java.lang.String
getType()
Gets the value of the type property.java.util.List<VectorComponent>
getVectorComponents()
Gets the value of the vectorComponents property.void
setComponentCount(long value)
Sets the value of the componentCount property.void
setDataType(java.lang.String value)
Sets the value of the dataType property.void
setDescription(java.lang.String value)
Sets the value of the description property.void
setLocalIdentifier(java.lang.String value)
Sets the value of the localIdentifier property.void
setName(java.lang.String value)
Sets the value of the name property.void
setReferenceFrameId(ReferenceFrameId value)
Sets the value of the referenceFrameId property.void
setType(java.lang.String value)
Sets the value of the type property.
-
-
-
Field Detail
-
name
protected java.lang.String name
-
localIdentifier
protected java.lang.String localIdentifier
-
type
protected java.lang.String type
-
dataType
protected java.lang.String dataType
-
referenceFrameId
protected ReferenceFrameId referenceFrameId
-
componentCount
protected long componentCount
-
description
protected java.lang.String description
-
vectorComponents
protected java.util.List<VectorComponent> vectorComponents
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getLocalIdentifier
public java.lang.String getLocalIdentifier()
Gets the value of the localIdentifier property.- Returns:
- possible object is
String
-
setLocalIdentifier
public void setLocalIdentifier(java.lang.String value)
Sets the value of the localIdentifier property.- Parameters:
value
- allowed object isString
-
getType
public java.lang.String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(java.lang.String value)
Sets the value of the type property.- Parameters:
value
- allowed object isString
-
getDataType
public java.lang.String getDataType()
Gets the value of the dataType property.- Returns:
- possible object is
String
-
setDataType
public void setDataType(java.lang.String value)
Sets the value of the dataType property.- Parameters:
value
- allowed object isString
-
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 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
public java.lang.String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(java.lang.String value)
Sets the value of the description property.- Parameters:
value
- allowed object isString
-
getVectorComponents
public java.util.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
- Returns:
- The value of the vectorComponents property.
-
-