rdbtoonto.dbmodel
Class Key
java.lang.Object
rdbtoonto.dbmodel.Key
- Direct Known Subclasses:
- ForeignKey, PrimaryKey
public class Key
- extends java.lang.Object
Key abstract class. A each concerns a set of attributes.
In practice, it is common to have only one attribute involved.
Constructor Summary |
Key()
|
Key(java.lang.String att)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Key
public Key()
Key
public Key(java.lang.String att)
getAttribute
public java.lang.String getAttribute()
getAttributes
public java.util.Vector<java.lang.String> getAttributes()
setAttribute
public void setAttribute(java.lang.String att)
isCompositeKey
public boolean isCompositeKey()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object