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 TypeMethodDescriptionRetrieves the list of database constraints associated with this entity.
-
Method Details
-
getConstraints
List<ConstraintNameAware> getConstraints()Retrieves the list of database constraints associated with this entity.- Returns:
- a list of
ConstraintNameAwareobjects. The list may be empty but will never benull.
-