org.rhq.core.domain.resource.flyweight
Class ResourceFlyweight
java.lang.Object
org.rhq.core.domain.resource.flyweight.ResourceFlyweight
- All Implemented Interfaces:
- Serializable
public class ResourceFlyweight
- extends Object
- implements Serializable
Contains only a minimal subset of properties of a Resource that are needed for display
purposes.
- See Also:
- Serialized Form
ResourceFlyweight
public ResourceFlyweight()
getParentResource
public ResourceFlyweight getParentResource()
setParentResource
public void setParentResource(ResourceFlyweight parent)
getUuid
public String getUuid()
setUuid
public void setUuid(String uuid)
getId
public int getId()
setId
public void setId(int id)
getName
public String getName()
setName
public void setName(String name)
getResourceKey
public String getResourceKey()
setResourceKey
public void setResourceKey(String resourceKey)
getCurrentAvailability
public ResourceAvailabilityFlyweight getCurrentAvailability()
setCurrentAvailability
public void setCurrentAvailability(ResourceAvailabilityFlyweight currentAvailability)
getResourceType
public ResourceTypeFlyweight getResourceType()
setResourceType
public void setResourceType(ResourceTypeFlyweight resourceType)
getChildResources
public List<ResourceFlyweight> getChildResources()
isLocked
public boolean isLocked()
setLocked
public void setLocked(boolean locked)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.