Class ObjectStoreIndex

java.lang.Object
io.webfolder.cdp.type.indexeddb.ObjectStoreIndex

public class ObjectStoreIndex extends Object
Object store index.
  • Constructor Details

    • ObjectStoreIndex

      public ObjectStoreIndex()
  • Method Details

    • getName

      public String getName()
      Index name.
    • setName

      public void setName(String name)
      Index name.
    • getKeyPath

      public KeyPath getKeyPath()
      Index key path.
    • setKeyPath

      public void setKeyPath(KeyPath keyPath)
      Index key path.
    • isUnique

      public Boolean isUnique()
      If true, index is unique.
    • setUnique

      public void setUnique(Boolean unique)
      If true, index is unique.
    • isMultiEntry

      public Boolean isMultiEntry()
      If true, index allows multiple entries for a key.
    • setMultiEntry

      public void setMultiEntry(Boolean multiEntry)
      If true, index allows multiple entries for a key.
    • toString

      public String toString()
      Overrides:
      toString in class Object