public class FromItem
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
PathExpr |
getCollectionExpr()
Gets the id expr.
|
AmberEntityHome |
getEntityHome()
Returns the entity home.
|
EntityType |
getEntityType()
Gets the entity class.
|
IdExpr |
getIdExpr()
Gets the id expr.
|
int |
getIndex()
Gets the index within the cartesian product for the item.
|
JoinExpr |
getJoinExpr()
Gets the join expr.
|
java.lang.String |
getName()
Returns the from item's name.
|
AbstractQuery |
getQuery()
Returns the owning query.
|
AmberTable |
getTable()
Returns the table.
|
EntityType |
getTableType()
Gets the table type
|
boolean |
isEntityType()
Returns true if there is an entity type.
|
boolean |
isInnerJoin()
Returns true if the from has no outer join.
|
boolean |
isOuterJoin()
Returns true if the from needs an outer join.
|
boolean |
isUsed()
Returns true if the from is used.
|
void |
setCollectionExpr(PathExpr collectionExpr)
Sets the collection expr.
|
void |
setIdExpr(IdExpr idExpr)
Sets the id expr.
|
void |
setJoinExpr(JoinExpr joinExpr)
Sets the join expr.
|
void |
setJoinSemantics(com.caucho.amber.query.FromItem.JoinSemantics joinSemantics)
Sets the join semantics.
|
void |
setOuterJoin(boolean isOuterJoin)
Sets the join semantics to OUTER (true) or
INNER (false).
|
void |
setQuery(AbstractQuery query)
Sets the owning query.
|
void |
setTable(AmberTable table)
Sets the table.
|
void |
setUsed(boolean isUsed)
Returns true if the from is used.
|
java.lang.String |
toString() |
public void setIdExpr(IdExpr idExpr)
public IdExpr getIdExpr()
public void setCollectionExpr(PathExpr collectionExpr)
public PathExpr getCollectionExpr()
public AbstractQuery getQuery()
public void setQuery(AbstractQuery query)
public java.lang.String getName()
public EntityType getEntityType()
public EntityType getTableType()
public AmberTable getTable()
public boolean isEntityType()
public void setTable(AmberTable table)
public void setJoinExpr(JoinExpr joinExpr)
public boolean isUsed()
public void setUsed(boolean isUsed)
public boolean isInnerJoin()
public boolean isOuterJoin()
public void setJoinSemantics(com.caucho.amber.query.FromItem.JoinSemantics joinSemantics)
public void setOuterJoin(boolean isOuterJoin)
public JoinExpr getJoinExpr()
public AmberEntityHome getEntityHome()
public int getIndex()
public java.lang.String toString()
toString
in class java.lang.Object