public static class Resource.Descriptions.Description extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="br" maxOccurs="unbounded" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<length value="0"/>
</restriction>
</simpleType>
</element>
</choice>
<attribute name="descriptionType" use="required" type="{http://datacite.org/schema/kernel-4}descriptionType" />
<attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Serializable> |
content |
protected DescriptionType |
descriptionType |
protected String |
lang |
| Constructor and Description |
|---|
Description() |
| Modifier and Type | Method and Description |
|---|---|
List<Serializable> |
getContent()
Gets the value of the content property.
|
DescriptionType |
getDescriptionType()
Gets the value of the descriptionType property.
|
String |
getLang()
Gets the value of the lang property.
|
void |
setDescriptionType(DescriptionType value)
Sets the value of the descriptionType property.
|
void |
setLang(String value)
Sets the value of the lang property.
|
protected List<Serializable> content
protected DescriptionType descriptionType
protected String lang
public List<Serializable> getContent()
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 content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list null
null null null null null null JAXBElement<String>
String
JAXBElement<String>
public DescriptionType getDescriptionType()
DescriptionTypepublic void setDescriptionType(DescriptionType value)
value - allowed object is DescriptionTypepublic String getLang()
StringCopyright © 2017–2020 CNES. All rights reserved.