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 getModifiedBy()
           
 Long getMtime()
           
 String getName()
           
 int hashCode()
           
 void setCtime(Long ctime)
           
 void setDescription(String description)
           
 void setModifiedBy(String 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)

getCtime

public Long getCtime()

setCtime

public void setCtime(Long ctime)

getMtime

public Long getMtime()

setMtime

public void setMtime(Long mtime)

getModifiedBy

public String getModifiedBy()

setModifiedBy

public void setModifiedBy(String modifiedBy)

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.