|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.tools.schemaframework.UniqueKeyConstraint
public class UniqueKeyConstraint
Purpose: Define a unique key constraint for a table.
Constructor Summary | |
---|---|
UniqueKeyConstraint()
|
|
UniqueKeyConstraint(String name,
String sourceField)
|
|
UniqueKeyConstraint(String name,
String[] sourceFields)
|
Method Summary | |
---|---|
void |
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. |
String |
getName()
PUBLIC: |
Vector<String> |
getSourceFields()
PUBLIC: |
void |
setName(String name)
PUBLIC: |
void |
setSourceFields(Vector<String> sourceFields)
PUBLIC: |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UniqueKeyConstraint()
public UniqueKeyConstraint(String name, String sourceField)
public UniqueKeyConstraint(String name, String[] sourceFields)
Method Detail |
---|
public void addSourceField(String sourceField)
public void appendDBString(Writer writer, org.eclipse.persistence.internal.sessions.AbstractSession session)
public String getName()
public Vector<String> getSourceFields()
public void setName(String name)
public void setSourceFields(Vector<String> sourceFields)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |