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 Details

    • description

      protected String description
    • deprecated

      protected String deprecated
    • deprecatedSince

      protected String deprecatedSince
    • value

      protected List<String> value
  • Constructor Details

    • Enum

      public Enum()
  • Method Details

    • getDescription

      public String getDescription()
      Gets the value of the description property.
      Returns:
      possible object is String
    • setDescription

      public void setDescription(String value)
      Sets the value of the description property.
      Parameters:
      value - allowed object is String
    • getDeprecated

      public String getDeprecated()
      Gets the value of the deprecated property.
      Returns:
      possible object is String
    • setDeprecated

      public void setDeprecated(String value)
      Sets the value of the deprecated property.
      Parameters:
      value - allowed object is String
    • getDeprecatedSince

      public String getDeprecatedSince()
      Gets the value of the deprecated since property.
      Returns:
      possible object is String
    • setDeprecatedSince

      public void setDeprecatedSince(String value)
      Sets the value of the deprecated since property.
      Parameters:
      value - allowed object is String
    • getValue

      public List<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 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