|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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()
|
String |
getColumnName()
Return the column's name. |
String |
getFullName()
Return the full name of the constraint. |
String |
getName()
Return the name of the constraint. |
int |
getRefCount()
|
String |
getSchemaName()
Return the column table's schema name. |
Table |
getTable()
Return the table of this constraint. |
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(String name)
Set the column's name. |
void |
setDeferred(boolean deferred)
Make this constrain deferred. |
void |
setName(String name)
Set the name of the constraint. |
void |
setSchemaName(String schema)
Set the column table's schema name. |
void |
setTableName(String name)
Set the column's table name. |
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 String getTableName()
public void setTableName(String name)
public String getSchemaName()
public void setSchemaName(String schema)
public String getColumnName()
public void setColumnName(String name)
public String getName()
public void setName(String name)
public String getFullName()
public abstract boolean isLogical()
public boolean isDeferred()
public void setDeferred(boolean deferred)
public String toString()
toString
in class 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 |