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

java.lang.Object
  extended by org.rhq.core.domain.resource.group.Group
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ResourceGroup

public abstract class Group
extends Object
implements Serializable

This is the abstract base class for groups containing either Resources or groups of Resources.

See Also:
Serialized Form

Constructor Summary
protected Group()
           
  Group(String name)
           
 
Method Summary
 boolean equals(Object o)
           
 Long getCtime()
           
 String getDescription()
           
 String getLocation()
           
 Subject getModifiedBy()
           
 Long getMtime()
           
 String getName()
           
 int hashCode()
           
 void setCtime(Long ctime)
           
 void setDescription(String description)
           
 void setLocation(String location)
           
 void setModifiedBy(Subject modifiedBy)
           
 void setMtime(Long mtime)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Group

protected Group()

Group

public Group(@NotNull
             String name)
Method Detail

getName

@NotNull
public String getName()

setName

public void setName(@NotNull
                    String name)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getLocation

public String getLocation()

setLocation

public void setLocation(String location)

getCtime

public Long getCtime()

setCtime

public void setCtime(Long ctime)

getMtime

public Long getMtime()

setMtime

public void setMtime(Long mtime)

getModifiedBy

public Subject getModifiedBy()

setModifiedBy

public void setModifiedBy(Subject modifiedBy)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.