Class Enum
- java.lang.Object
-
- de.hybris.bootstrap.beangenerator.definitions.xml.AbstractPojo
-
- de.hybris.bootstrap.beangenerator.definitions.xml.Enum
-
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>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringdeprecatedprotected java.lang.StringdeprecatedSinceprotected java.lang.Stringdescriptionprotected java.util.List<java.lang.String>value-
Fields inherited from class de.hybris.bootstrap.beangenerator.definitions.xml.AbstractPojo
clazz, template
-
-
Constructor Summary
Constructors Constructor Description Enum()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDeprecated()Gets the value of the deprecated property.java.lang.StringgetDeprecatedSince()Gets the value of the deprecated since property.java.lang.StringgetDescription()Gets the value of the description property.java.util.List<java.lang.String>getValue()Gets the value of the value property.voidsetDeprecated(java.lang.String value)Sets the value of the deprecated property.voidsetDeprecatedSince(java.lang.String value)Sets the value of the deprecated since property.voidsetDescription(java.lang.String value)Sets the value of the description property.-
Methods inherited from class de.hybris.bootstrap.beangenerator.definitions.xml.AbstractPojo
getClazz, getTemplate, setClazz, setTemplate
-
-
-
-
Method Detail
-
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
-
getDeprecated
public java.lang.String getDeprecated()
Gets the value of the deprecated property.- Returns:
- possible object is
String
-
setDeprecated
public void setDeprecated(java.lang.String value)
Sets the value of the deprecated property.- Parameters:
value- allowed object isString
-
getDeprecatedSince
public java.lang.String getDeprecatedSince()
Gets the value of the deprecated since property.- Returns:
- possible object is
String
-
setDeprecatedSince
public void setDeprecatedSince(java.lang.String value)
Sets the value of the deprecated since property.- Parameters:
value- allowed object isString
-
getValue
public java.util.List<java.lang.String> getValue()
Gets the value of the value 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
setmethod 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
-
-