Uses of Class
org.apache.openjpa.jdbc.schema.Constraint
- 
Packages that use Constraint Package Description 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 Modifier and Type Class Description classForeignKeyRepresents a database foreign key; may be a logical key with no database representation.classIndexRepresents a database index.classLocalConstraintConstraint over local table columns, as opposed to a foreign key which spans tables.classPrimaryKeyRepresents a table primary key.classUniqueRepresents a unique constraint.Methods in org.apache.openjpa.jdbc.schema with type parameters of type Constraint Modifier and Type Method Description <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 Constraint Modifier and Type Method Description Set<Constraint>Column. getConstraints()Gets all constrains attached this column.Methods in org.apache.openjpa.jdbc.schema with parameters of type Constraint Modifier and Type Method Description voidColumn. addConstraint(Constraint c)Adds the given constraint to this column.voidColumn. removeConstraint(Constraint c)Removes the given constraint from this column.Method parameters in org.apache.openjpa.jdbc.schema with type arguments of type Constraint Modifier and Type Method Description booleanColumn. hasConstraint(Class<? extends Constraint> type)Affirms if this column has any constraint of given type. 
 -