|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object velosurf.model.Attribute velosurf.model.ExportedKey
public class ExportedKey
An exported key (aka primary key used in a foreign key) attribute.
Field Summary | |
---|---|
private java.util.List<java.lang.String> |
fkCols
List of foreign keys. |
private java.lang.String |
order
Order |
Fields inherited from class velosurf.model.Attribute |
---|
db, entity, query, resultEntity, ROW, ROWSET, SCALAR, UNDEFINED |
Constructor Summary | |
---|---|
ExportedKey(java.lang.String name,
Entity entity,
java.lang.String fkEntity,
java.util.List<java.lang.String> fkCols)
Exported key constructor. |
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getFKCols()
Foreign key columns getter. |
protected java.lang.String |
getQuery()
Query getter. |
void |
setFKCols(java.util.List<java.lang.String> fkCols)
Foreign key columns setter. |
void |
setOrder(java.lang.String order)
Set order |
java.lang.String |
toString()
Debug method. |
Methods inherited from class velosurf.model.Attribute |
---|
addParamName, evaluate, fetch, getCaching, getDB, getEntity, getName, getResultEntity, getType, query, query, setCaching, setForeignKeyColumn, setQuery, setResultEntity, setResultType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.util.List<java.lang.String> fkCols
private java.lang.String order
Constructor Detail |
---|
public ExportedKey(java.lang.String name, Entity entity, java.lang.String fkEntity, java.util.List<java.lang.String> fkCols)
name
- name of this exported keyentity
- parent entityfkEntity
- foreign key entityfkCols
- foreign key columnsMethod Detail |
---|
public java.util.List<java.lang.String> getFKCols()
public void setFKCols(java.util.List<java.lang.String> fkCols)
fkCols
- foreign key columns listpublic void setOrder(java.lang.String order)
protected java.lang.String getQuery()
getQuery
in class Attribute
public java.lang.String toString()
toString
in class Attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |