org.rhq.core.domain.content
Class RepoGroupType

java.lang.Object
  extended by org.rhq.core.domain.content.RepoGroupType
All Implemented Interfaces:
Serializable

public class RepoGroupType
extends Object
implements Serializable

Defines a type of (@link RepoGroup) e.g. Channel families in RHN map to a type of (@link RepoGroup).

See Also:
Serialized Form

Field Summary
static String QUERY_FIND_BY_NAME
           
 
Constructor Summary
RepoGroupType()
           
RepoGroupType(String name)
           
 
Method Summary
 void addRepoGroup(RepoGroup repoGroup)
           
 boolean equals(Object obj)
           
 String getDescription()
          Free text description of this repo group type.
 int getId()
           
 String getName()
          Programmatic name of the repo group type.
 Set<RepoGroup> getRepoGroups()
          Repo groups of this type.
 int hashCode()
           
 void setDescription(String description)
           
 void setId(int id)
           
 void setName(String name)
           
 void setRepoGroups(Set<RepoGroup> repoGroups)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

QUERY_FIND_BY_NAME

public static final String QUERY_FIND_BY_NAME
See Also:
Constant Field Values
Constructor Detail

RepoGroupType

public RepoGroupType()

RepoGroupType

public RepoGroupType(String name)
Method Detail

getId

public int getId()

setId

public void setId(int id)

getName

public String getName()
Programmatic name of the repo group type.


setName

public void setName(String name)

getDescription

public String getDescription()
Free text description of this repo group type.


setDescription

public void setDescription(String description)

getRepoGroups

public Set<RepoGroup> getRepoGroups()
Repo groups of this type.


addRepoGroup

public void addRepoGroup(RepoGroup repoGroup)

setRepoGroups

public void setRepoGroups(Set<RepoGroup> repoGroups)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


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