Class IndexDefinition

  • All Implemented Interfaces:, java.lang.Cloneable

    public class IndexDefinition
    extends DatabaseObjectDefinition

    Purpose: Allow for indexes to be created.

    See Also:
    Serialized Form
    James Sutherland
    EclipseLink 2.2
    • Field Detail

      • targetTable

        protected java.lang.String targetTable
      • fields

        protected java.util.List<java.lang.String> fields
      • isUnique

        protected boolean isUnique
    • Constructor Detail

      • IndexDefinition

        public IndexDefinition()
    • Method Detail

      • isUnique

        public boolean isUnique()
      • setIsUnique

        public void setIsUnique​(boolean isUnique)
      • getTargetTable

        public java.lang.String getTargetTable()
      • setTargetTable

        public void setTargetTable​(java.lang.String targetTable)
        PUBLIC: set qualified table name.
      • addField

        public void addField​(java.lang.String fieldName)
        PUBLIC: Add the field to the index.
      • getFields

        public java.util.List<java.lang.String> getFields()
      • setFields

        public void setFields​(java.util.List<java.lang.String> fields)