org.rhq.core.domain.content
Class PackageVersionContentSourcePK

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

public class PackageVersionContentSourcePK
extends Object
implements Serializable

This is the composite primary key for the PackageVersionContentSource 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
PackageVersionContentSourcePK()
           
PackageVersionContentSourcePK(PackageVersion pv, ContentSource cs)
           
 
Method Summary
 boolean equals(Object obj)
           
 ContentSource getContentSource()
           
 PackageVersion getPackageVersion()
           
 int hashCode()
           
 void setContentSource(ContentSource contentSource)
           
 void setPackageVersion(PackageVersion packageVersion)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PackageVersionContentSourcePK

public PackageVersionContentSourcePK()

PackageVersionContentSourcePK

public PackageVersionContentSourcePK(PackageVersion pv,
                                     ContentSource cs)
Method Detail

getPackageVersion

public PackageVersion getPackageVersion()

setPackageVersion

public void setPackageVersion(PackageVersion packageVersion)

getContentSource

public ContentSource getContentSource()

setContentSource

public void setContentSource(ContentSource contentSource)

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.