Class CollectiontypeType

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

public class CollectiontypeType extends Object
A CollectionType defines a collection of typed elements. Attention: If using a collection type for persistent attributes (not jalo) you can not search on that attribute and you are limited in size of collection. Consider to use a relation instead.

Java class for collectiontypeType complex type.

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

 <complexType name="collectiontypeType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="code" use="required" type="{}codeType" />
       <attribute name="elementtype" 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="type" default="collection">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
             <enumeration value="set"/>
             <enumeration value="list"/>
             <enumeration value="collection"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • code

      protected String code
    • elementtype

      protected String elementtype
    • autocreate

      protected Boolean autocreate
    • generate

      protected Boolean generate
    • type

      protected String type
  • Constructor Details

    • CollectiontypeType

      public CollectiontypeType()
  • Method Details

    • 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
    • getElementtype

      public String getElementtype()
      Gets the value of the elementtype property.
      Returns:
      possible object is String
    • setElementtype

      public void setElementtype(String value)
      Sets the value of the elementtype 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
    • getType

      public String getType()
      Gets the value of the type property.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String