org.rhq.core.domain.resource.flyweight
Class ResourceSubCategoryFlyweight

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

public class ResourceSubCategoryFlyweight
extends Object
implements Serializable

Flyweight representation of a resource sub category. Only id, name and parent are preserved.

See Also:
Serialized Form

Constructor Summary
ResourceSubCategoryFlyweight()
           
 
Method Summary
 boolean equals(Object o)
           
 int getId()
           
 String getName()
           
 ResourceSubCategoryFlyweight getParentSubCategory()
           
 int hashCode()
           
 void setId(int id)
           
 void setName(String name)
           
 void setParentSubCategory(ResourceSubCategoryFlyweight parentSubCategory)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceSubCategoryFlyweight

public ResourceSubCategoryFlyweight()
Method Detail

getId

public int getId()

setId

public void setId(int id)

getName

public String getName()

setName

public void setName(String name)

getParentSubCategory

public ResourceSubCategoryFlyweight getParentSubCategory()

setParentSubCategory

public void setParentSubCategory(ResourceSubCategoryFlyweight parentSubCategory)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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