Interface ConstraintsAware

All Known Implementing Classes:
DuplicatedForeignKeys

public interface ConstraintsAware
Represents an entity that is aware of database constraints. Classes implementing this interface should provide access to a list of associated constraints.
Since:
0.13.3
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the list of database constraints associated with this entity.
  • Method Details

    • getConstraints

      @Nonnull List<Constraint> getConstraints()
      Retrieves the list of database constraints associated with this entity.
      Returns:
      a list of Constraint objects. The list may be empty but will never be null.