public abstract class Constraint extends Object
DatabaseMetaData
.Modifier and Type | Method and Description |
---|---|
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() |
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 int getRefCount()
public void ref()
public void deref()
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.