Class EnumtypeType

java.lang.Object
de.hybris.bootstrap.typesystem.jaxb.EnumtypeType

public class EnumtypeType extends Object
An EnumerationType defines fixed value types. (The typesystem provides item enumeration only)

Java class for enumtypeType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="enumtypeType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="model" type="{}enumModelType" minOccurs="0"/>
         <element name="value" type="{}enumValueType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="code" use="required" type="{}codeType" />
       <attribute name="autocreate" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="generate" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="jaloclass" type="{}classType" />
       <attribute name="dynamic" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • EnumtypeType

      public EnumtypeType()
  • 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
    • getModel

      public EnumModelType getModel()
      Gets the value of the model property.
      Returns:
      possible object is EnumModelType
    • setModel

      public void setModel(EnumModelType value)
      Sets the value of the model property.
      Parameters:
      value - allowed object is EnumModelType
    • getValue

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

    • getCode

      public String getCode()
      Gets the value of the code property.
      Returns:
      possible object is String
    • setCode

      public void setCode(String value)
      Sets the value of the code property.
      Parameters:
      value - allowed object is String
    • isAutocreate

      public boolean isAutocreate()
      Gets the value of the autocreate property.
      Returns:
      possible object is Boolean
    • setAutocreate

      public void setAutocreate(Boolean value)
      Sets the value of the autocreate property.
      Parameters:
      value - allowed object is Boolean
    • isGenerate

      public boolean isGenerate()
      Gets the value of the generate property.
      Returns:
      possible object is Boolean
    • setGenerate

      public void setGenerate(Boolean value)
      Sets the value of the generate property.
      Parameters:
      value - allowed object is Boolean
    • getJaloclass

      public String getJaloclass()
      Gets the value of the jaloclass property.
      Returns:
      possible object is String
    • setJaloclass

      public void setJaloclass(String value)
      Sets the value of the jaloclass property.
      Parameters:
      value - allowed object is String
    • isDynamic

      public Boolean isDynamic()
      Gets the value of the dynamic property.
      Returns:
      possible object is Boolean
    • setDynamic

      public void setDynamic(Boolean value)
      Sets the value of the dynamic property.
      Parameters:
      value - allowed object is Boolean