public class Enum extends AbstractPojo
Java class for enum complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="enum">
<complexContent>
<extension base="{}abstractPojo">
<sequence>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
</sequence>
<element name="deprecated" type="{http://www.w3.org/2001/XMLSchema}string"/>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
deprecated |
protected java.lang.String |
description |
protected java.util.List<java.lang.String> |
value |
clazz, template| Constructor and Description |
|---|
Enum() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDeprecated()
Gets the value of the deprecated property.
|
java.lang.String |
getDescription()
Gets the value of the description property.
|
java.util.List<java.lang.String> |
getValue()
Gets the value of the value property.
|
void |
setDeprecated(java.lang.String value)
Sets the value of the deprecated property.
|
void |
setDescription(java.lang.String value)
Sets the value of the description property.
|
getClazz, getTemplate, setClazz, setTemplateprotected java.lang.String description
protected java.lang.String deprecated
protected java.util.List<java.lang.String> value
public java.lang.String getDescription()
Stringpublic void setDescription(java.lang.String value)
value - allowed object is Stringpublic java.lang.String getDeprecated()
Stringpublic void setDeprecated(java.lang.String value)
value - allowed object is Stringpublic java.util.List<java.lang.String> getValue()
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 value property.
For example, to add a new item, do as follows:
getValue().add(newItem);
Objects of the following type(s) are allowed in the list String
Copyright © 2018 SAP SE. All Rights Reserved.