org.rhq.enterprise.server.common
Class EntityContext
java.lang.Object
org.rhq.enterprise.server.common.EntityContext
public class EntityContext
- extends java.lang.Object
Category is assigned with the following preference assuming multiple categories can be satisfied with the available context information:
ResourceGroup
AutoGroup
ResourceTemplate
Resource
- Author:
- Joseph Marques
|
Constructor Summary |
EntityContext(java.lang.Integer resourceId,
java.lang.Integer groupId,
java.lang.Integer parentResourceId,
java.lang.Integer resourceTypeId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
category
public final EntityContext.Category category
resourceId
public final int resourceId
groupId
public final int groupId
parentResourceId
public final int parentResourceId
resourceTypeId
public final int resourceTypeId
EntityContext
public EntityContext(java.lang.Integer resourceId,
java.lang.Integer groupId,
java.lang.Integer parentResourceId,
java.lang.Integer resourceTypeId)
getCategory
public EntityContext.Category getCategory()
getResourceId
public int getResourceId()
getGroupId
public int getGroupId()
getParentResourceId
public int getParentResourceId()
getResourceTypeId
public int getResourceTypeId()
getLegacyKey
public java.lang.String getLegacyKey()
getUnknownContextMessage
public java.lang.String getUnknownContextMessage()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
toShortString
public java.lang.String toShortString()
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.