Uses of Class
org.apache.openjpa.jdbc.schema.Unique
-
Packages that use Unique Package Description org.apache.openjpa.jdbc.meta OpenJPA-JDBC ORM Metadataorg.apache.openjpa.jdbc.schema OpenJPA-JDBC Schema Managementorg.apache.openjpa.jdbc.sql OpenJPA-JDBC SQL Abstraction -
-
Uses of Unique in org.apache.openjpa.jdbc.meta
Methods in org.apache.openjpa.jdbc.meta that return Unique Modifier and Type Method Description protected UniqueMappingInfo. createUnique(MetaDataContext context, String prefix, Unique tmplate, Column[] cols, boolean adapt)Retrieve/create a unique constraint on the given columns by merging the given template information with any user-provided information.Unique[]FieldMapping. getJoinTableUniques()Unique[]FieldMappingInfo. getJoinTableUniques(FieldMapping field, boolean def, boolean adapt)Get the unique constraints associated with the Sequence table.UniqueFieldMapping. getJoinUnique()Unique constraint on join foreign key columns.UniqueFieldMappingInfo. getJoinUnique(FieldMapping field, boolean def, boolean adapt)Unique constraint on the field join.UniqueMappingDefaults. getJoinUnique(FieldMapping fm, Table table, Column[] cols)Return a default constraint for the join, or null if the join columns should not be constrained by default.UniqueMappingDefaultsImpl. getJoinUnique(FieldMapping fm, Table table, Column[] cols)UniqueNoneMappingDefaults. getJoinUnique(FieldMapping fm, Table table, Column[] cols)UniqueMappingDefaults. getUnique(ValueMapping vm, String name, Table table, Column[] cols)Deprecated.UniqueMappingDefaults. getUnique(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)Return a default constraint for the value, or null if the value columns should not be constrained by default.UniqueMappingDefaultsImpl. getUnique(ValueMapping vm, String name, Table table, Column[] cols)Deprecated.UniqueMappingDefaultsImpl. getUnique(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)UniqueMappingInfo. getUnique()Raw unique constraint information.UniqueNoneMappingDefaults. getUnique(ValueMapping vm, String name, Table table, Column[] cols)UniqueNoneMappingDefaults. getUnique(ValueMapping vm, DBIdentifier name, Table table, Column[] cols)UniqueValueMappingInfo. getUnique(ValueMapping val, String name, boolean adapt)Deprecated.UniqueValueMappingInfo. getUnique(ValueMapping val, DBIdentifier name, boolean adapt)Unique[]ClassMappingInfo. getUniques(String table)Deprecated.Unique[]ClassMappingInfo. getUniques(DBIdentifier table)Get the unique constraints of the given primary or secondary table.Unique[]ClassMappingInfo. getUniques(MetaDataContext cm, boolean adapt)Get all the unique constraints associated with both the primary and/or secondary tables.UniqueFieldMapping. getValueUnique()UniqueValueMapping. getValueUnique()Unique constraint on this value's columns, or null if none.UniqueValueMappingImpl. getValueUnique()Methods in org.apache.openjpa.jdbc.meta with parameters of type Unique Modifier and Type Method Description voidFieldMappingInfo. addJoinTableUnique(Unique u)Add Unique Constraint to the Join Table.voidClassMappingInfo. addUnique(String table, Unique unique)Deprecated.voidClassMappingInfo. addUnique(DBIdentifier table, Unique unique)Add a unique constraint for the given table.protected UniqueMappingInfo. createUnique(MetaDataContext context, String prefix, Unique tmplate, Column[] cols, boolean adapt)Retrieve/create a unique constraint on the given columns by merging the given template information with any user-provided information.voidFieldMapping. setJoinTableUniques(Unique[] unqs)voidFieldMapping. setJoinUnique(Unique unq)Unique constraint on join foreign key columns.voidMappingInfo. setUnique(Unique unq)Raw unique constraint information.voidFieldMapping. setValueUnique(Unique unq)voidValueMapping. setValueUnique(Unique unq)Unique constraint on this value's columns, or null if none.voidValueMappingImpl. setValueUnique(Unique unq)protected voidFieldMappingInfo. syncJoinTableUniques(MetaDataContext context, Unique[] unqs)Sets internal constraint information to match given mapped constraint.protected voidMappingInfo. syncUnique(MetaDataContext context, Unique unq)Sets internal constraint information to match given mapped constraint. -
Uses of Unique in org.apache.openjpa.jdbc.schema
Fields in org.apache.openjpa.jdbc.schema declared as Unique Modifier and Type Field Description static Unique[]Schemas. EMPTY_UNIQUESUniqueXMLSchemaParser.UniqueInfo. unqMethods in org.apache.openjpa.jdbc.schema that return Unique Modifier and Type Method Description UniqueTable. addUnique(String name)Deprecated.UniqueTable. addUnique(DBIdentifier name)UniqueTable. getUnique(String name)Deprecated.UniqueTable. getUnique(DBIdentifier name)Unique[]Table. getUniques()Return the table's unique constraints.UniqueTable. importUnique(Unique unq)Import a constraint; column names must match columns of this table.protected UniqueSchemaGroup. newUnique(String name, Table table)Deprecated.protected UniqueSchemaGroup. newUnique(DBIdentifier name, Table table)Methods in org.apache.openjpa.jdbc.schema with parameters of type Unique Modifier and Type Method Description booleanSchemaTool. createIndex(Index idx, Table table, Unique[] uniques)booleanUnique. equalsUnique(Unique unq)Return true if the structure of this primary key matches that of the given one (same table, same columns).UniqueTable. importUnique(Unique unq)Import a constraint; column names must match columns of this table.booleanTable. removeUnique(Unique unq)Remove the given unique constraint from the table. -
Uses of Unique in org.apache.openjpa.jdbc.sql
Methods in org.apache.openjpa.jdbc.sql with parameters of type Unique Modifier and Type Method Description protected StringDBDictionary. getUniqueConstraintSQL(Unique unq)Return the declaration SQL for the given unique constraint.booleanDBDictionary. needsToCreateIndex(Index idx, Table table, Unique[] uniques)booleanSolidDBDictionary. needsToCreateIndex(Index idx, Table table, Unique[] uniques)
-