Package org.ofbiz.core.entity.model
Class ModelFunctionBasedIndex
java.lang.Object
org.ofbiz.core.entity.model.ModelFunctionBasedIndex
Generic Entity - Relation model function-based-index class
-
Constructor Summary
ConstructorsConstructorDescriptionModelFunctionBasedIndex(ModelEntity mainEntity, String name, boolean unique, FunctionDefinitionBuilder builder) ModelFunctionBasedIndex(ModelEntity mainEntity, Element indexElement) XML Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetFunction(DatabaseType dbType) the main entity of this relationgetName()the index name, used for the database index namegetType()booleanspecifies whether or not this index should include the unique constraintgetVirtualColumn(DatabaseType dbType) booleansupportsFunctionBasedIndices(DatabaseType databaseType)
-
Constructor Details
-
ModelFunctionBasedIndex
public ModelFunctionBasedIndex(ModelEntity mainEntity, String name, boolean unique, FunctionDefinitionBuilder builder) -
ModelFunctionBasedIndex
XML Constructor
-
-
Method Details
-
getName
the index name, used for the database index name -
getFunction
-
getUnique
public boolean getUnique()specifies whether or not this index should include the unique constraint -
getVirtualColumn
-
getType
-
getMainEntity
the main entity of this relation -
getVirtualColumnModelField
-
supportsFunctionBasedIndices
-