org.rhq.core.domain.content
Class RepoRepoGroupPK

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

public class RepoRepoGroupPK
extends Object
implements Serializable

This is the composite primary key for the RepoRepoGroup entity. That entity is an explicit many-to-many mapping table, so this composite key is simply the foreign keys to both ends of that relationship.

See Also:
Serialized Form

Constructor Summary
RepoRepoGroupPK()
           
RepoRepoGroupPK(Repo repo, RepoGroup repoGroup)
           
 
Method Summary
 boolean equals(Object obj)
           
 Repo getRepo()
           
 RepoGroup getRepoGroup()
           
 int hashCode()
           
 void setRepo(Repo repo)
           
 void setRepoGroup(RepoGroup repoGroup)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepoRepoGroupPK

public RepoRepoGroupPK()

RepoRepoGroupPK

public RepoRepoGroupPK(Repo repo,
                       RepoGroup repoGroup)
Method Detail

getRepo

public Repo getRepo()

setRepo

public void setRepo(Repo repo)

getRepoGroup

public RepoGroup getRepoGroup()

setRepoGroup

public void setRepoGroup(RepoGroup repoGroup)

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.