Uses of Class
org.apache.openjpa.jdbc.schema.Constraint
Packages that use Constraint
-
Uses of Constraint in org.apache.openjpa.jdbc.schema
Subclasses of Constraint in org.apache.openjpa.jdbc.schemaModifier and TypeClassDescriptionclass
Represents a database foreign key; may be a logical key with no database representation.class
Represents a database index.class
Constraint over local table columns, as opposed to a foreign key which spans tables.class
Represents a table primary key.class
Represents a unique constraint.Methods in org.apache.openjpa.jdbc.schema with type parameters of type ConstraintModifier and TypeMethodDescription<T extends Constraint>
Set<T>Column.getConstraints
(Class<T> type) Gets all constrains of the given type attached to this column.Methods in org.apache.openjpa.jdbc.schema that return types with arguments of type ConstraintModifier and TypeMethodDescriptionColumn.getConstraints()
Gets all constrains attached this column.Methods in org.apache.openjpa.jdbc.schema with parameters of type ConstraintModifier and TypeMethodDescriptionvoid
Column.addConstraint
(Constraint c) Adds the given constraint to this column.void
Column.removeConstraint
(Constraint c) Removes the given constraint from this column.Method parameters in org.apache.openjpa.jdbc.schema with type arguments of type ConstraintModifier and TypeMethodDescriptionboolean
Column.hasConstraint
(Class<? extends Constraint> type) Affirms if this column has any constraint of given type.