Class IndexType

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

public class IndexType extends Object
Configures a database index for enclosing type.

Java class for indexType complex type.

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

 <complexType name="indexType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="key" type="{}indexKeyType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="remove" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="replace" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • IndexType

      public IndexType()
  • Method Details

    • getKey

      public List<IndexKeyType> getKey()
      Gets the value of the key 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 key property.

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

       getKey().add(newItem);
       

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

    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • isRemove

      public boolean isRemove()
      Gets the value of the remove property.
      Returns:
      possible object is Boolean
    • setRemove

      public void setRemove(Boolean value)
      Sets the value of the remove property.
      Parameters:
      value - allowed object is Boolean
    • isReplace

      public boolean isReplace()
      Gets the value of the replace property.
      Returns:
      possible object is Boolean
    • setReplace

      public void setReplace(Boolean value)
      Sets the value of the replace property.
      Parameters:
      value - allowed object is Boolean
    • isUnique

      public Boolean isUnique()
      Gets the value of the unique property.
      Returns:
      possible object is Boolean
    • setUnique

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