Class IndexType
java.lang.Object
de.hybris.bootstrap.typesystem.jaxb.IndexType
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Gets the value of the key property.getName()Gets the value of the name property.booleanisRemove()Gets the value of the remove property.booleanGets the value of the replace property.isUnique()Gets the value of the unique property.voidSets the value of the name property.voidSets the value of the remove property.voidsetReplace(Boolean value) Sets the value of the replace property.voidSets the value of the unique property.
-
Field Details
-
key
-
name
-
remove
-
replace
-
unique
-
-
Constructor Details
-
IndexType
public IndexType()
-
-
Method Details
-
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
setmethod 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
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
isRemove
public boolean isRemove()Gets the value of the remove property.- Returns:
- possible object is
Boolean
-
setRemove
Sets the value of the remove property.- Parameters:
value- allowed object isBoolean
-
isReplace
public boolean isReplace()Gets the value of the replace property.- Returns:
- possible object is
Boolean
-
setReplace
Sets the value of the replace property.- Parameters:
value- allowed object isBoolean
-
isUnique
Gets the value of the unique property.- Returns:
- possible object is
Boolean
-
setUnique
Sets the value of the unique property.- Parameters:
value- allowed object isBoolean
-