org.rhq.core.domain.content
Class RepoPackageVersionPK
java.lang.Object
org.rhq.core.domain.content.RepoPackageVersionPK
- All Implemented Interfaces:
- Serializable
public class RepoPackageVersionPK
- extends Object
- implements Serializable
This is the composite primary key for the RepoPackageVersion
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
RepoPackageVersionPK
public RepoPackageVersionPK()
RepoPackageVersionPK
public RepoPackageVersionPK(Repo repo,
PackageVersion pv)
getRepo
public Repo getRepo()
setRepo
public void setRepo(Repo repo)
getPackageVersion
public PackageVersion getPackageVersion()
setPackageVersion
public void setPackageVersion(PackageVersion packageVersion)
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.