Package gov.nasa.arc.pds.xml.generated
Class Target
- java.lang.Object
-
- gov.nasa.arc.pds.xml.generated.Target
-
public class Target extends java.lang.Object
The Target class provides a description of a physical object that is the object of data collection.Java class for Target complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Target"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{http://pds.nasa.gov/pds4/pds/v1}name" minOccurs="0"/> <element name="type" type="{http://pds.nasa.gov/pds4/pds/v1}type" maxOccurs="unbounded" minOccurs="0"/> <element name="description" type="{http://pds.nasa.gov/pds4/pds/v1}description"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
description
protected java.lang.String
name
protected java.util.List<java.lang.String>
types
-
Constructor Summary
Constructors Constructor Description Target()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Gets the value of the description property.java.lang.String
getName()
Gets the value of the name property.java.util.List<java.lang.String>
getTypes()
Gets the value of the types property.void
setDescription(java.lang.String value)
Sets the value of the description property.void
setName(java.lang.String value)
Sets the value of the name property.
-
-
-
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
-
getTypes
public java.util.List<java.lang.String> getTypes()
Gets the value of the types 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 types property.For example, to add a new item, do as follows:
getTypes().add(newItem);
Objects of the following type(s) are allowed in the list
String
- Returns:
- The value of the types 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
-
-