|
||||||||||
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()
|
DBIdentifier |
getColumnIdentifier()
|
String |
getColumnName()
Deprecated. |
DBIdentifier |
getFullIdentifier()
|
String |
getFullName()
Deprecated. |
DBIdentifier |
getIdentifier()
|
String |
getName()
Deprecated. |
QualifiedDBIdentifier |
getQualifiedPath()
|
int |
getRefCount()
|
DBIdentifier |
getSchemaIdentifier()
|
String |
getSchemaName()
Deprecated. |
Table |
getTable()
Return the table of this constraint. |
DBIdentifier |
getTableIdentifier()
|
String |
getTableName()
Deprecated. |
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 |
setColumnIdentifier(DBIdentifier name)
|
void |
setColumnName(String name)
Deprecated. |
void |
setDeferred(boolean deferred)
Make this constrain deferred. |
void |
setIdentifier(DBIdentifier name)
|
void |
setName(String name)
Deprecated. |
void |
setSchemaIdentifier(DBIdentifier schema)
|
void |
setSchemaName(String schema)
Deprecated. |
void |
setTableIdentifier(DBIdentifier name)
|
void |
setTableName(String name)
Deprecated. |
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 DBIdentifier getTableIdentifier()
public void setTableName(String name)
public void setTableIdentifier(DBIdentifier name)
public String getSchemaName()
public DBIdentifier getSchemaIdentifier()
public void setSchemaName(String schema)
public void setSchemaIdentifier(DBIdentifier schema)
public String getColumnName()
public DBIdentifier getColumnIdentifier()
public void setColumnName(String name)
public void setColumnIdentifier(DBIdentifier name)
public String getName()
public DBIdentifier getIdentifier()
public void setName(String name)
public void setIdentifier(DBIdentifier name)
public String getFullName()
public QualifiedDBIdentifier getQualifiedPath()
public DBIdentifier getFullIdentifier()
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 |