public class RegisterDefault extends TreeSet<Value> implements IRegister
| Constructor and Description |
|---|
RegisterDefault(Table parent)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Value |
getByAlias(String alias)
Get a value by its alias.
|
Value |
getByName(String name)
Get a value by its name.
|
Table |
getParent()
Parent table.
|
String |
getTableOrAlias(IContext context,
Column column)
Get the table which is referred by the column.
|
boolean |
hasKeys()
Check if register has keys.
|
boolean |
hasKeysOrReferences()
Check if register has keys or references.
|
boolean |
hasReferences()
Check if register has references.
|
add, addAll, ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, size, spliterator, subSet, subSet, tailSet, tailSetequals, hashCode, removeAllcontainsAll, retainAll, toArray, toArray, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArrayparallelStream, removeIf, streampublic RegisterDefault(Table parent)
parent - A table.public String getTableOrAlias(IContext context, Column column) throws DatabaseException
IRegistergetTableOrAlias in interface IRegistercontext - The test context.column - Base column.DatabaseException - On table resolution error.public Value getByName(String name)
IRegisterpublic Value getByAlias(String alias)
IRegistergetByAlias in interface IRegisteralias - An alias.public boolean hasKeys()
IRegisterpublic boolean hasReferences()
IRegisterhasReferences in interface IRegisterpublic boolean hasKeysOrReferences()
IRegisterhasKeysOrReferences in interface IRegisterCopyright © 2017. All rights reserved.