Class ModelFunctionBasedIndex

java.lang.Object
org.ofbiz.core.entity.model.ModelFunctionBasedIndex

public class ModelFunctionBasedIndex extends Object
Generic Entity - Relation model function-based-index class
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      the index name, used for the database index name
    • getFunction

      public String getFunction(DatabaseType dbType)
    • getUnique

      public boolean getUnique()
      specifies whether or not this index should include the unique constraint
    • getVirtualColumn

      public String getVirtualColumn(DatabaseType dbType)
    • getType

      public String getType()
    • getMainEntity

      public ModelEntity getMainEntity()
      the main entity of this relation
    • getVirtualColumnModelField

      public ModelField getVirtualColumnModelField(DatabaseType dbType)
    • supportsFunctionBasedIndices

      public boolean supportsFunctionBasedIndices(DatabaseType databaseType)