Interface ConstraintNameAware

All Superinterfaces:
TableNameAware
All Known Implementing Classes:
Constraint, ForeignKey

public interface ConstraintNameAware extends TableNameAware
Represents an entity that is aware of a database constraint name. Classes implementing this interface should provide the name of a specific database constraint.
Since:
0.13.3
  • Method Details

    • getConstraintName

      String getConstraintName()
      Retrieves the name of the database constraint associated with this entity.
      Returns:
      the name of the constraint as a non-null String.
    • getConstraintType

      ConstraintType getConstraintType()
      Retrieves type of constraint.
      Returns:
      type of constraint
      Since:
      0.15.0
      See Also: