|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topbraid.spin.model.QueryOrTemplateCall
public class QueryOrTemplateCall
A wrapper of either a Query or a TemplateCall.
| Constructor Summary | |
|---|---|
QueryOrTemplateCall(Resource cls,
Query query)
Constructs an instance representing a plain Query. |
|
QueryOrTemplateCall(Resource cls,
TemplateCall templateCall)
Constructs an instance representing a template call. |
|
| Method Summary | |
|---|---|
Resource |
getCls()
Gets the associated subject, e.g. |
Query |
getQuery()
If this is a Query, then get it. |
TemplateCall |
getTemplateCall()
If this is a TemplateCall, then return it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryOrTemplateCall(Resource cls,
Query query)
cls - the class the query is attached toquery - the SPIN Query
public QueryOrTemplateCall(Resource cls,
TemplateCall templateCall)
cls - the class the template call is attached totemplateCall - the template call| Method Detail |
|---|
public Query getQuery()
public Resource getCls()
public TemplateCall getTemplateCall()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||