Class ItemModelType

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

public class ItemModelType extends Object
Allows to configure model generation for this item used at servicelayer.

Java class for itemModelType complex type.

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

 <complexType name="itemModelType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="constructor" type="{}modelConstructorType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="generate" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • ItemModelType

      public ItemModelType()
  • Method Details

    • getConstructor

      public List<ModelConstructorType> getConstructor()
      Gets the value of the constructor 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 constructor property.

      For example, to add a new item, do as follows:

       getConstructor().add(newItem);
       

      Objects of the following type(s) are allowed in the list ModelConstructorType

    • 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