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

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

public class ResourceTypeFlyweight
extends Object
implements Serializable

A flyweight representation of the resource type intended for the display purposes.

See Also:
Serialized Form

Constructor Summary
ResourceTypeFlyweight()
           
 
Method Summary
 boolean equals(Object obj)
           
 ResourceCategory getCategory()
           
 int getId()
           
 String getName()
           
 String getPlugin()
           
 ResourceSubCategoryFlyweight getSubCategory()
           
 int hashCode()
           
 boolean isSingleton()
           
 void setCategory(ResourceCategory resourceCategory)
           
 void setId(int id)
           
 void setName(String name)
           
 void setPlugin(String plugin)
           
 void setSingleton(boolean singleton)
           
 void setSubCategory(ResourceSubCategoryFlyweight subCategory)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceTypeFlyweight

public ResourceTypeFlyweight()
Method Detail

getId

public int getId()

setId

public void setId(int id)

getName

public String getName()

setName

public void setName(String name)

getPlugin

public String getPlugin()

setPlugin

public void setPlugin(String plugin)

getCategory

public ResourceCategory getCategory()

setCategory

public void setCategory(ResourceCategory resourceCategory)

getSubCategory

public ResourceSubCategoryFlyweight getSubCategory()

setSubCategory

public void setSubCategory(ResourceSubCategoryFlyweight subCategory)

isSingleton

public boolean isSingleton()

setSingleton

public void setSingleton(boolean singleton)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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