Class Sequence

java.lang.Object
org.hibernate.boot.model.relational.Sequence
All Implemented Interfaces:
ContributableDatabaseObject, Exportable, Contributable

public class Sequence extends Object implements ContributableDatabaseObject
Models a database SEQUENCE.
  • Constructor Details

  • Method Details

    • getName

      public QualifiedSequenceName getName()
    • getExportIdentifier

      public String getExportIdentifier()
      Description copied from interface: Exportable
      Get a unique identifier to make sure we are not exporting the same database structure multiple times.
      Specified by:
      getExportIdentifier in interface Exportable
      Returns:
      The exporting identifier.
    • getContributor

      public String getContributor()
      Description copied from interface: Contributable
      The name of the contributor which contributed this
      Specified by:
      getContributor in interface Contributable
    • getInitialValue

      public int getInitialValue()
    • getIncrementSize

      public int getIncrementSize()
    • validate

      public void validate(int initialValue, int incrementSize)