org.rhq.core.domain.content
Class AdvisoryPackage

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

public class AdvisoryPackage
extends Object
implements Serializable

This is the many-to-many entity that correlates an advisory with a package.

See Also:
Serialized Form

Field Summary
static String DELETE_PACKAGES_BY_ADV_ID
           
static String FIND_ADVISORY_PACKAGE
           
static String FIND_PACKAGES_BY_ADV_ID
           
 
Constructor Summary
protected AdvisoryPackage()
           
  AdvisoryPackage(Advisory adv, PackageVersion pkg)
           
 
Method Summary
 boolean equals(Object obj)
           
 Advisory getAdvisory()
           
 long getLastModifiedDate()
           
 PackageVersion getPkg()
           
 int hashCode()
           
 void setAdvisory(Advisory advisory)
           
 void setLastModifiedDate(long lastModifiedDate)
           
 void setPkg(PackageVersion pkg)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

FIND_PACKAGES_BY_ADV_ID

public static final String FIND_PACKAGES_BY_ADV_ID
See Also:
Constant Field Values

DELETE_PACKAGES_BY_ADV_ID

public static final String DELETE_PACKAGES_BY_ADV_ID
See Also:
Constant Field Values

FIND_ADVISORY_PACKAGE

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

AdvisoryPackage

protected AdvisoryPackage()

AdvisoryPackage

public AdvisoryPackage(Advisory adv,
                       PackageVersion pkg)
Method Detail

getAdvisory

public Advisory getAdvisory()

setAdvisory

public void setAdvisory(Advisory advisory)

getPkg

public PackageVersion getPkg()

setPkg

public void setPkg(PackageVersion pkg)

getLastModifiedDate

public long getLastModifiedDate()

setLastModifiedDate

public void setLastModifiedDate(long lastModifiedDate)

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.