Class AttributeModelType

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

public class AttributeModelType extends Object
Allows to configure model generation for this attribute used at servicelayer.

Java class for attributeModelType complex type.

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

 <complexType name="attributeModelType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="getter" type="{}modelMethodType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="setter" type="{}modelMethodType" 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

    • AttributeModelType

      public AttributeModelType()
  • Method Details

    • getGetter

      public List<ModelMethodType> getGetter()
      Gets the value of the getter 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 getter property.

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

       getGetter().add(newItem);
       

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

    • getSetter

      public List<ModelMethodType> getSetter()
      Gets the value of the setter 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 setter property.

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

       getSetter().add(newItem);
       

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

    • 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