org.rhq.core.domain.content
Class RepoAdvisory

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

public class RepoAdvisory
extends Object
implements Serializable

This is the many-to-many entity that correlates a repo with an advisory that will fill the repo with advisory updates. It is an explicit relationship mapping entity between Repo and Advisory.

See Also:
Serialized Form

Field Summary
static String DELETE_BY_ADVISORY_ID
           
static String DELETE_BY_REPO_ID
           
static String QUERY_FIND_BY_REPO_ID
           
 
Constructor Summary
protected RepoAdvisory()
           
  RepoAdvisory(Repo repo, Advisory advisory)
           
 
Method Summary
 boolean equals(Object obj)
           
 Advisory getAdvisory()
           
 long getLastModified()
           
 Repo getRepo()
           
 RepoAdvisoryPK getRepoAdvisoryPK()
           
 int hashCode()
           
 void setAdvisory(Advisory advisory)
           
 void setRepo(Repo repo)
           
 void setRepoAdvisoryPK(RepoAdvisoryPK pk)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DELETE_BY_ADVISORY_ID

public static final String DELETE_BY_ADVISORY_ID
See Also:
Constant Field Values

DELETE_BY_REPO_ID

public static final String DELETE_BY_REPO_ID
See Also:
Constant Field Values

QUERY_FIND_BY_REPO_ID

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

RepoAdvisory

protected RepoAdvisory()

RepoAdvisory

public RepoAdvisory(Repo repo,
                    Advisory advisory)
Method Detail

getRepoAdvisoryPK

public RepoAdvisoryPK getRepoAdvisoryPK()

setRepoAdvisoryPK

public void setRepoAdvisoryPK(RepoAdvisoryPK pk)

getLastModified

public long getLastModified()

getRepo

public Repo getRepo()

setRepo

public void setRepo(Repo repo)

getAdvisory

public Advisory getAdvisory()

setAdvisory

public void setAdvisory(Advisory advisory)

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.