|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object velosurf.model.Attribute velosurf.model.ImportedKey
public class ImportedKey
An imported key (aka foreign key) attribute.
Field Summary | |
---|---|
private java.util.List<java.lang.String> |
fkCols
Foreign key columns. |
Fields inherited from class velosurf.model.Attribute |
---|
db, entity, query, resultEntity, ROW, ROWSET, SCALAR, UNDEFINED |
Constructor Summary | |
---|---|
ImportedKey(java.lang.String name,
Entity entity,
java.lang.String pkEntity,
java.util.List<java.lang.String> fkCols)
Imported 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. |
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
Constructor Detail |
---|
public ImportedKey(java.lang.String name, Entity entity, java.lang.String pkEntity, java.util.List<java.lang.String> fkCols)
name
- name of this exported keyentity
- parent entitypkEntity
- primary key entityfkCols
- foreign key columnsMethod Detail |
---|
protected java.lang.String getQuery()
getQuery
in class Attribute
public java.util.List<java.lang.String> getFKCols()
public void setFKCols(java.util.List<java.lang.String> fkCols)
fkCols
- foreign key columns listpublic java.lang.String toString()
toString
in class Attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |