public class Target extends Object
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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
name |
protected List<String> |
types |
| Constructor and Description |
|---|
Target() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the value of the description property.
|
String |
getName()
Gets the value of the name property.
|
List<String> |
getTypes()
Gets the value of the types property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setName(String value)
Sets the value of the name property.
|
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic List<String> getTypes()
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
public String getDescription()
StringCopyright © 2020. All rights reserved.