|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.grouping.critters.ProtoCritterType.ProtoCritter
public class ProtoCritterType.ProtoCritter
Fetches all the Prototypes from EAM_RESOURCE by proto_id
Method Summary | |
---|---|
void |
bindSqlParams(CritterTranslationContext ctx,
org.hibernate.Query q)
Bind any SQL parameters which were previously returned as part of getSql(). |
boolean |
equals(java.lang.Object other)
|
java.lang.String |
getConfig()
Returns a localized description of how the Critter is configured. |
CritterType |
getCritterType()
Returns the CritterType associated with this Critter |
java.util.List |
getProps()
Get a list of CritterProps s which are the current
values set for this critter. |
Resource |
getProto()
|
java.lang.String |
getSql(CritterTranslationContext ctx,
java.lang.String resourceAlias)
Get a SQL segment, suitable for placement within a where clause. |
java.lang.String |
getSqlJoins(CritterTranslationContext ctx,
java.lang.String resourceAlias)
Get additional SQL specifying joins requierd by the critter The result of this method is run through CritterTranslationContext.escapeSql(String) which will
turn all references delimited by '@' into unique identifiers. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Resource getProto()
public java.util.List getProps()
Critter
CritterProps
s which are the current
values set for this critter.
getProps
in interface Critter
public java.lang.String getSql(CritterTranslationContext ctx, java.lang.String resourceAlias)
Critter
CritterTranslationContext.escapeSql(String)
, which will
turn all references delimited '@' into unique identifiers.
getSql
in interface Critter
resourceAlias
- The SQL alias for the Resource
public java.lang.String getSqlJoins(CritterTranslationContext ctx, java.lang.String resourceAlias)
Critter
CritterTranslationContext.escapeSql(String)
which will
turn all references delimited by '@' into unique identifiers.
getSqlJoins
in interface Critter
public void bindSqlParams(CritterTranslationContext ctx, org.hibernate.Query q)
Critter
CritterTranslationContext.escape(String)
to bind to variables
which match the references returned from getSql, etc.
bindSqlParams
in interface Critter
public CritterType getCritterType()
Critter
CritterType
associated with this Critter
getCritterType
in interface Critter
public java.lang.String getConfig()
Critter
getConfig
in interface Critter
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |