org.rhq.core.domain.content
Class AdvisoryCVE

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

public class AdvisoryCVE
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_BY_ADV_ID
           
static String FIND_CVE_BY_ADV_ID
           
 
Constructor Summary
protected AdvisoryCVE()
           
  AdvisoryCVE(Advisory adv, CVE cve)
           
 
Method Summary
 boolean equals(Object obj)
           
 Advisory getAdvisory()
           
 CVE getCVE()
           
 int getId()
           
 long getLastModifiedDate()
           
 int hashCode()
           
 void setAdvisory(Advisory advisory)
           
 void setLastModifiedDate(long lastModifiedDate)
           
 void setPkg(CVE cve)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

FIND_CVE_BY_ADV_ID

public static final String FIND_CVE_BY_ADV_ID
See Also:
Constant Field Values

DELETE_BY_ADV_ID

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

AdvisoryCVE

protected AdvisoryCVE()

AdvisoryCVE

public AdvisoryCVE(Advisory adv,
                   CVE cve)
Method Detail

getId

public int getId()

getAdvisory

public Advisory getAdvisory()

setAdvisory

public void setAdvisory(Advisory advisory)

getCVE

public CVE getCVE()

setPkg

public void setPkg(CVE cve)

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.