|
Tuscany DAS for Relational Databases | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.das.rdb.Key
public class Key
A key instance is used to describe a Table key definition. This is used primarily for compound keys since simple keys are described with a name.
Constructor Summary | |
---|---|
Key(java.lang.String columnName)
Contructor for a single column key |
|
Key(java.lang.String[] columns)
Constructor for a compound key |
Method Summary | |
---|---|
java.util.List |
getColumNames()
Returns a List of column names that compose the key |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Key(java.lang.String columnName)
columnName
- The single column fo rthe keypublic Key(java.lang.String[] columns)
columns
- The array of column names that compose the keyMethod Detail |
---|
public java.util.List getColumNames()
|
Tuscany DAS for Relational Databases | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |