|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.jdbc.schema.Constraint
public abstract class Constraint
A table constraint. This class is closely aligned with the constraint
information available from DatabaseMetaData
.
Method Summary | |
---|---|
void |
deref()
|
java.lang.String |
getColumnName()
Return the column's name. |
java.lang.String |
getFullName()
Return the full name of the constraint. |
java.lang.String |
getName()
Return the name of the constraint. |
int |
getRefCount()
|
java.lang.String |
getSchemaName()
Return the column table's schema name. |
Table |
getTable()
Return the table of this constraint. |
java.lang.String |
getTableName()
Return the column's table name. |
boolean |
isDeferred()
Return true if this is a deferred constraint. |
abstract boolean |
isLogical()
Return whether this constraint is a logical constraint only; i.e. |
void |
ref()
|
void |
setColumnName(java.lang.String name)
Set the column's name. |
void |
setDeferred(boolean deferred)
Make this constrain deferred. |
void |
setName(java.lang.String name)
Set the name of the constraint. |
void |
setSchemaName(java.lang.String schema)
Set the column table's schema name. |
void |
setTableName(java.lang.String name)
Set the column's table name. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Table getTable()
public java.lang.String getTableName()
public void setTableName(java.lang.String name)
public java.lang.String getSchemaName()
public void setSchemaName(java.lang.String schema)
public java.lang.String getColumnName()
public void setColumnName(java.lang.String name)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getFullName()
public abstract boolean isLogical()
public boolean isDeferred()
public void setDeferred(boolean deferred)
public java.lang.String toString()
toString
in class java.lang.Object
public int getRefCount()
public void ref()
public void deref()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |