Package io.permazen

Class PermazenSchemaItem

java.lang.Object
io.permazen.PermazenSchemaItem
Direct Known Subclasses:
PermazenClass, PermazenCompositeIndex, PermazenField

public abstract class PermazenSchemaItem extends Object
Superclass for the PermazenClass, PermazenField, and PermazenCompositeIndex classes which describe the schema associated with a Permazen instance.
  • Method Details

    • getName

      public String getName()
      Get the name of this instance.
      Returns:
      this instance's name
    • getStorageId

      public int getStorageId()
      Get the storage ID of this instance.
      Returns:
      this instance's actual storage ID
    • getSchemaId

      public SchemaId getSchemaId()
      Get the schema ID of this instance.
      Returns:
      this instance's schema ID
    • getSchemaItem

      public SchemaItem getSchemaItem()
      Get the corresonding core API database instance.
      Returns:
      this instance's correpsonding SchemaItem
    • toString

      public String toString()
      Overrides:
      toString in class Object