Class Index


public class Index extends TableItem
  • Constructor Details

    • Index

      public Index(String name)
  • Method Details

    • getFields

      public List<Field> getFields()
    • setFields

      public void setFields(List<Field> fields)
    • isPrimary

      public boolean isPrimary()
    • setPrimary

      public void setPrimary(boolean primary)
    • isUnique

      public boolean isUnique()
    • setUnique

      public void setUnique(boolean unique)
    • getWhere

      public String getWhere()
    • setWhere

      public void setWhere(String where)
    • addReferencingForeignKey

      public void addReferencingForeignKey(ForeignKey foreignKey)
    • getReferencingForeignKeys

      public Collection<ForeignKey> getReferencingForeignKeys()