Package overit.geocall.edm.model
Interface Index
- All Superinterfaces:
DataAttributesHolder
Represents a
An index is used to improve query performance by creating a data structure that allows faster access to records based on specific fields.
database index associated with an EDM entity.An index is used to improve query performance by creating a data structure that allows faster access to records based on specific fields.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final charstatic final char -
Method Summary
Modifier and TypeMethodDescriptionReturns the field of the table in which is stored thecompany IDvalue associated with the entity model.Returns the description of the index.Returns aStringabout the name of the entity.Returns theList<BaseDataAttribute> (fields) that are part of this index.getId()Returns theIDof the index.getName()Returns the name of the index.Returns aStringabout the real name of the index in the application database.Returns theIndexCreationStatusof thisIndex.Returns aStringabout the name of the table.booleanReturns thetruein case this index must also be added in reverse order;falseotherwise.default charReturnsTRUE_CHAR_VALUEin case this index must also be added in reverse order;FALSE_CHAR_VALUEotherwise.booleanisUnique()Determines whether this index enforces uniqueness constraint.default charReturnsTRUE_CHAR_VALUEin case this index is unique;FALSE_CHAR_VALUEotherwise.voidSets theIDof the index.voidsetStatus(IndexCreationStatus status) Sets theIndexCreationStatusof thisIndex.Methods inherited from interface overit.geocall.edm.model.DataAttributesHolder
getDataAttributes, getEntities, setDataAttributes
-
Field Details
-
TRUE_CHAR_VALUE
static final char TRUE_CHAR_VALUE- See Also:
-
FALSE_CHAR_VALUE
static final char FALSE_CHAR_VALUE- See Also:
-
-
Method Details
-
getId
Long getId()Returns theIDof the index.- Returns:
- the
IDof the index.
-
setId
Sets theIDof the index.- Parameters:
id- theIDof the index.
-
getName
String getName()Returns the name of the index.- Returns:
- the name of the index.
-
getDescription
String getDescription()Returns the description of the index.- Returns:
- the description of the index.
-
getTableName
String getTableName()Returns aStringabout the name of the table.- Returns:
- a
Stringabout the name of the table.
-
getEntityName
String getEntityName()Returns aStringabout the name of the entity.- Returns:
- a
Stringabout the name of the entity.
-
getCompany
Company getCompany() -
getCompanyIdField
String getCompanyIdField()Returns the field of the table in which is stored thecompany IDvalue associated with the entity model.- Returns:
- the field of the table in which is stored the
company IDvalue associated with the entity model.
-
getFields
List<BaseDataAttribute> getFields()Returns theList<BaseDataAttribute> (fields) that are part of this index.- Returns:
- the list of fields included in the index.
-
isUnique
boolean isUnique()Determines whether this index enforces uniqueness constraint.- Returns:
trueif the index is unique,falseotherwise.
-
isUniqueAdapted
default char isUniqueAdapted()ReturnsTRUE_CHAR_VALUEin case this index is unique;FALSE_CHAR_VALUEotherwise.- Returns:
TRUE_CHAR_VALUEin case this index is unique;FALSE_CHAR_VALUEotherwise.
-
getRealName
String getRealName()Returns aStringabout the real name of the index in the application database.- Returns:
- a
Stringabout the real name of the index in the application database.
-
isAddReverse
boolean isAddReverse()Returns thetruein case this index must also be added in reverse order;falseotherwise.- Returns:
- the
truein case this index must also be added in reverse order;falseotherwise.
-
isAddReverseAdapted
default char isAddReverseAdapted()ReturnsTRUE_CHAR_VALUEin case this index must also be added in reverse order;FALSE_CHAR_VALUEotherwise.- Returns:
TRUE_CHAR_VALUEin case this index must also be added in reverse order;FALSE_CHAR_VALUEotherwise.
-
getStatus
IndexCreationStatus getStatus()Returns theIndexCreationStatusof thisIndex.- Returns:
- the
IndexCreationStatusof thisIndex.
-
setStatus
Sets theIndexCreationStatusof thisIndex.- Parameters:
status- theIndexCreationStatusof thisIndex.
-