|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Constraint | |
---|---|
org.apache.openjpa.jdbc.schema | OpenJPA-JDBC Schema Management |
Uses of Constraint in org.apache.openjpa.jdbc.schema |
---|
Subclasses of Constraint in org.apache.openjpa.jdbc.schema | |
---|---|
class |
ForeignKey
Represents a database foreign key; may be a logical key with no database representation. |
class |
Index
Represents a database index. |
class |
LocalConstraint
Constraint over local table columns, as opposed to a foreign key which spans tables. |
class |
PrimaryKey
Represents a table primary key. |
class |
Unique
Represents a unique constraint. |
Methods in org.apache.openjpa.jdbc.schema with type parameters of type Constraint | ||
---|---|---|
|
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 Constraint | |
---|---|
Set<Constraint> |
Column.getConstraints()
Gets all constrains attached this column. |
Methods in org.apache.openjpa.jdbc.schema with parameters of type Constraint | |
---|---|
void |
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 Constraint | |
---|---|
boolean |
Column.hasConstraint(Class<? extends Constraint> type)
Affirms if this column has any constraint of given type. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |