org.rhq.enterprise.server.plugin.pc.content
Class RepoGroupDetails

java.lang.Object
  extended by org.rhq.enterprise.server.plugin.pc.content.RepoGroupDetails

public class RepoGroupDetails
extends Object

Represents a repo group being introduced by a repo source.

Author:
Jason Dobies
See Also:
RepoSource

Constructor Summary
RepoGroupDetails(String name, String typeName)
           
 
Method Summary
 String getDescription()
          Returns the description of what this type represents.
 String getName()
          Returns the name of the group.
 String getTypeName()
          Returns the name of the type of group this instance represents.
 void setDescription(String description)
          Sets the description the group type should display to users.
 void setName(String name)
          Sets the name of the group being represented.
 void setTypeName(String typeName)
          Sets the name of the group type this repo belongs to.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepoGroupDetails

public RepoGroupDetails(String name,
                        String typeName)
Method Detail

getName

public String getName()
Returns the name of the group.

Returns:
will not be null

setName

public void setName(String name)
Sets the name of the group being represented.

Parameters:
name - cannot be null

getTypeName

public String getTypeName()
Returns the name of the type of group this instance represents.

Returns:
will not be null

setTypeName

public void setTypeName(String typeName)
Sets the name of the group type this repo belongs to.

Parameters:
typeName - cannot be null

getDescription

public String getDescription()
Returns the description of what this type represents.

Returns:
may be null

setDescription

public void setDescription(String description)
Sets the description the group type should display to users.

Parameters:
description - may be null

toString

public String toString()
Overrides:
toString in class Object


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