Class UniqueKeyConstraint
java.lang.Object
org.eclipse.persistence.tools.schemaframework.UniqueKeyConstraint
- All Implemented Interfaces:
Serializable
Purpose: Define a unique key constraint for a table.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionUniqueKeyConstraint
(String name, String sourceField) UniqueKeyConstraint
(String name, String[] sourceFields) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSourceField
(String sourceField) PUBLIC:void
appendDBString
(Writer writer, org.eclipse.persistence.internal.sessions.AbstractSession session) INTERNAL: Append the database field definition string to the table creation statement.getName()
PUBLIC:PUBLIC:void
PUBLIC:void
setSourceFields
(Vector<String> sourceFields) PUBLIC:
-
Field Details
-
name
-
sourceFields
-
-
Constructor Details
-
UniqueKeyConstraint
public UniqueKeyConstraint() -
UniqueKeyConstraint
-
UniqueKeyConstraint
-
-
Method Details
-
addSourceField
PUBLIC: -
appendDBString
public void appendDBString(Writer writer, org.eclipse.persistence.internal.sessions.AbstractSession session) INTERNAL: Append the database field definition string to the table creation statement. -
getName
PUBLIC: -
getSourceFields
PUBLIC: -
setName
PUBLIC: -
setSourceFields
PUBLIC:
-