org.rhq.core.domain.resource.group
Class GroupDefinition

java.lang.Object
  extended by org.rhq.core.domain.resource.group.GroupDefinition
All Implemented Interfaces:
Serializable

public class GroupDefinition
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static String QUERY_FIND_ALL
           
static String QUERY_FIND_ALL_MEMBERS
           
static String QUERY_FIND_ALL_RECALCULATING
           
static String QUERY_FIND_BY_NAME
           
static String QUERY_FIND_IDS_FOR_RECALCULATION
           
static String QUERY_FIND_MANAGED_RESOURCE_GROUP_IDS_ADMIN
           
static String QUERY_FIND_MANAGED_RESOURCE_GROUP_SIZE_ADMIN
           
static String QUERY_FIND_MEMBERS
           
 
Constructor Summary
GroupDefinition()
           
GroupDefinition(String name)
           
 
Method Summary
 void addResourceGroup(ResourceGroup resourceGroup)
           
 boolean equals(Object obj)
           
 Long getCreatedTime()
           
 String getDescription()
           
 String getExpression()
           
 List<String> getExpressionAsList()
           
 int getId()
           
 Long getLastCalculationTime()
           
 Set<ResourceGroup> getManagedResourceGroups()
           
 Long getModifiedTime()
           
 String getName()
           
 Long getNextCalculationTime()
           
 Long getRecalculationInterval()
           
 int hashCode()
           
 boolean isRecursive()
           
 void removeResourceGroup(ResourceGroup resourceGroup)
           
 void setCreatedTime(Long ctime)
           
 void setDescription(String description)
           
 void setExpression(String expression)
           
 void setId(int id)
           
 void setLastCalculationTime(Long lastCalculationTime)
           
 void setManagedResourceGroups(Set<ResourceGroup> managedResourceGroups)
           
 void setModifiedTime(Long mtime)
           
 void setName(String name)
           
 void setRecalculationInterval(Long recalculationInterval)
           
 void setRecursive(boolean recursive)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

QUERY_FIND_ALL

public static final String QUERY_FIND_ALL
See Also:
Constant Field Values

QUERY_FIND_BY_NAME

public static final String QUERY_FIND_BY_NAME
See Also:
Constant Field Values

QUERY_FIND_MEMBERS

public static final String QUERY_FIND_MEMBERS
See Also:
Constant Field Values

QUERY_FIND_ALL_MEMBERS

public static final String QUERY_FIND_ALL_MEMBERS
See Also:
Constant Field Values

QUERY_FIND_MANAGED_RESOURCE_GROUP_IDS_ADMIN

public static final String QUERY_FIND_MANAGED_RESOURCE_GROUP_IDS_ADMIN
See Also:
Constant Field Values

QUERY_FIND_MANAGED_RESOURCE_GROUP_SIZE_ADMIN

public static final String QUERY_FIND_MANAGED_RESOURCE_GROUP_SIZE_ADMIN
See Also:
Constant Field Values

QUERY_FIND_IDS_FOR_RECALCULATION

public static final String QUERY_FIND_IDS_FOR_RECALCULATION
See Also:
Constant Field Values

QUERY_FIND_ALL_RECALCULATING

public static final String QUERY_FIND_ALL_RECALCULATING
See Also:
Constant Field Values
Constructor Detail

GroupDefinition

public GroupDefinition()

GroupDefinition

public GroupDefinition(String name)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getId

public int getId()

setId

public void setId(int id)

getName

public String getName()

setName

public void setName(String name)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

isRecursive

public boolean isRecursive()

setRecursive

public void setRecursive(boolean recursive)

getCreatedTime

public Long getCreatedTime()

setCreatedTime

public void setCreatedTime(Long ctime)

getModifiedTime

public Long getModifiedTime()

setModifiedTime

public void setModifiedTime(Long mtime)

getLastCalculationTime

public Long getLastCalculationTime()

setLastCalculationTime

public void setLastCalculationTime(Long lastCalculationTime)

getRecalculationInterval

public Long getRecalculationInterval()

setRecalculationInterval

public void setRecalculationInterval(Long recalculationInterval)

getNextCalculationTime

public Long getNextCalculationTime()

getExpression

public String getExpression()

getExpressionAsList

public List<String> getExpressionAsList()

setExpression

public void setExpression(String expression)

getManagedResourceGroups

public Set<ResourceGroup> getManagedResourceGroups()

addResourceGroup

public void addResourceGroup(ResourceGroup resourceGroup)

removeResourceGroup

public void removeResourceGroup(ResourceGroup resourceGroup)

setManagedResourceGroups

public void setManagedResourceGroups(Set<ResourceGroup> managedResourceGroups)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.