|
||||||||||
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. |
java.lang.String |
toString()
Gets a human-readable text of either the query or the template call. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QueryOrTemplateCall(Resource cls, Query query)
cls
- the class the query is attached toquery
- the SPIN Querypublic QueryOrTemplateCall(Resource cls, TemplateCall templateCall)
cls
- the class the template call is attached totemplateCall
- the template callMethod Detail |
---|
public Query getQuery()
public Resource getCls()
public TemplateCall getTemplateCall()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |