Class Enum
java.lang.Object
de.hybris.bootstrap.beangenerator.definitions.xml.AbstractPojo
de.hybris.bootstrap.beangenerator.definitions.xml.Enum
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
FieldsFields inherited from class de.hybris.bootstrap.beangenerator.definitions.xml.AbstractPojo
clazz, template -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the deprecated property.Gets the value of the deprecated since property.Gets the value of the description property.getValue()Gets the value of the value property.voidsetDeprecated(String value) Sets the value of the deprecated property.voidsetDeprecatedSince(String value) Sets the value of the deprecated since property.voidsetDescription(String value) Sets the value of the description property.Methods inherited from class de.hybris.bootstrap.beangenerator.definitions.xml.AbstractPojo
getClazz, getTemplate, setClazz, setTemplate
-
Field Details
-
description
-
deprecated
-
deprecatedSince
-
value
-
-
Constructor Details
-
Enum
public Enum()
-
-
Method Details
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getDeprecated
Gets the value of the deprecated property.- Returns:
- possible object is
String
-
setDeprecated
Sets the value of the deprecated property.- Parameters:
value- allowed object isString
-
getDeprecatedSince
Gets the value of the deprecated since property.- Returns:
- possible object is
String
-
setDeprecatedSince
Sets the value of the deprecated since property.- Parameters:
value- allowed object isString
-
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
-