|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rhq.core.domain.content.RepoGroup
public class RepoGroup
A RepoGroup represents a set of related Repo
s. Repos can be tied together
by different (@link RepoGroupType)s.
Field Summary | |
---|---|
static String |
QUERY_FIND_BY_NAME
|
Constructor Summary | |
---|---|
RepoGroup()
|
|
RepoGroup(String name)
|
Method Summary | |
---|---|
RepoRepoGroup |
addRepo(Repo repo)
Directly assign a repo to this repogroup. |
boolean |
equals(Object obj)
|
String |
getDescription()
User specified description of the repoGroup. |
int |
getId()
|
String |
getName()
Programmatic name of the repoGroup. |
RepoGroupType |
getRepoGroupType()
Describes the capabilities of this repoGroup. |
Set<RepoRepoGroup> |
getRepoRepoGroups()
Returns the explicit mapping entities. |
Set<Repo> |
getRepos()
The repos that this repo group is associated with. |
int |
hashCode()
|
RepoRepoGroup |
removeRepo(Repo repo)
Removes the repo from this repogroup, if it exists. |
void |
setDescription(String description)
|
void |
setId(int id)
|
void |
setName(String name)
|
void |
setRepoGroupType(RepoGroupType repoGroupType)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String QUERY_FIND_BY_NAME
Constructor Detail |
---|
public RepoGroup()
public RepoGroup(String name)
Method Detail |
---|
public int getId()
public void setId(int id)
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public RepoGroupType getRepoGroupType()
public void setRepoGroupType(RepoGroupType repoGroupType)
public Set<RepoRepoGroup> getRepoRepoGroups()
#getRepoGroup()
public Set<Repo> getRepos()
The returned set is not backed by this entity - if you want to alter the set of associated repos, use
getRepoRepoGroups()
or addRepo(Repo)
, removeRepo(Repo)
.
public RepoRepoGroup addRepo(Repo repo)
repo
-
public RepoRepoGroup removeRepo(Repo repo)
null
is
returned.
repo
- the repo to remove from this repo group
null
if the repo did not belong to this repo grouppublic String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |