|
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.appdef.shared.AppdefEntityID
public class AppdefEntityID
a class which represents a unique object within the Appdef framework.
Constructor Summary | |
---|---|
AppdefEntityID(int entityType,
int entityID)
|
|
AppdefEntityID(int entityType,
java.lang.Integer entityID)
|
|
AppdefEntityID(Resource rv)
|
|
AppdefEntityID(java.lang.String id)
build an AppdefEntityID from a string key of the form: [entityType]:[entityID] |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
|
java.lang.String |
getAppdefKey()
|
java.lang.Integer |
getAuthzTypeId()
Return the ID of this entity id object's authz resource type. |
java.lang.String |
getAuthzTypeName()
Return the string name of this entity id object's authz resource type. |
java.lang.Integer |
getId()
|
int |
getID()
|
int |
getType()
|
java.lang.String |
getTypeName()
|
int |
hashCode()
|
boolean |
isApplication()
Convenience method to check if this is a application |
boolean |
isGroup()
Convenience method to check if this is a group |
boolean |
isPlatform()
Convenience method to check if this is a platform |
boolean |
isServer()
Convenience method to check if this is a server |
boolean |
isService()
Convenience method to check if this is a service |
static AppdefEntityID |
newAppID(java.lang.Integer id)
|
static AppdefEntityID |
newGroupID(java.lang.Integer id)
|
static AppdefEntityID |
newPlatformID(java.lang.Integer id)
|
static AppdefEntityID |
newServerID(java.lang.Integer id)
|
static AppdefEntityID |
newServiceID(java.lang.Integer id)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AppdefEntityID(java.lang.String id)
public AppdefEntityID(int entityType, int entityID)
public AppdefEntityID(int entityType, java.lang.Integer entityID)
public AppdefEntityID(Resource rv)
Method Detail |
---|
public int getType()
public java.lang.String getTypeName()
public int getID()
public java.lang.Integer getId()
public java.lang.String getAppdefKey()
public java.lang.String getAuthzTypeName()
public java.lang.Integer getAuthzTypeId()
public boolean isPlatform()
public boolean isServer()
public boolean isService()
public boolean isApplication()
public boolean isGroup()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public static AppdefEntityID newPlatformID(java.lang.Integer id)
public static AppdefEntityID newServerID(java.lang.Integer id)
public static AppdefEntityID newServiceID(java.lang.Integer id)
public static AppdefEntityID newAppID(java.lang.Integer id)
public static AppdefEntityID newGroupID(java.lang.Integer id)
|
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 |