|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujorm.orm.impl.ColumnWrapperImpl
public class ColumnWrapperImpl
Wrapper for a MetaColumn
| Constructor Summary | |
|---|---|
ColumnWrapperImpl(MetaColumn column,
Key key)
|
|
ColumnWrapperImpl(MetaColumn column,
String tableAlias)
|
|
ColumnWrapperImpl(MetaColumn column,
String tableAlias,
Key key)
Basic constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(Object relation)
Two models are the same if its key names are the same for the same domain type. |
Key |
getKey()
Returns an original Key |
MetaColumn |
getModel()
Returns an original column model |
String |
getName()
Returns an original colum name |
String |
getTableAlias()
Returns always the NonNull alias of the related database table |
int |
hashCode()
The hashCode form the Key name |
boolean |
isCompositeKey()
Is it a composite Key? |
String |
toString()
Returns the Key |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnWrapperImpl(MetaColumn column,
String tableAlias)
public ColumnWrapperImpl(MetaColumn column,
Key key)
public ColumnWrapperImpl(MetaColumn column,
String tableAlias,
Key key)
column - Mandatory columntable - Optional tablekey - Optional Key| Method Detail |
|---|
public MetaColumn getModel()
getModel in interface ColumnWrapperpublic String getName()
getName in interface ColumnWrapperpublic String getTableAlias()
getTableAlias in interface ColumnWrapperpublic Key getKey()
getKey in interface ColumnWrapperpublic boolean isCompositeKey()
isCompositeKey in interface ColumnWrapperpublic boolean equals(Object relation)
equals in interface ColumnWrapperequals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||