org.rhq.core.domain.content
Class RepoContentSource

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

public class RepoContentSource
extends Object
implements Serializable

This is the many-to-many entity that correlates a repo with a content source that will fill the repo with package versions. It is an explicit relationship mapping entity between Repo and ContentSource.

See Also:
Serialized Form

Field Summary
static String DELETE_BY_CONTENT_SOURCE_ID
           
static String DELETE_BY_REPO_ID
           
 
Constructor Summary
protected RepoContentSource()
           
  RepoContentSource(Repo repo, ContentSource contentSource)
           
 
Method Summary
 boolean equals(Object obj)
           
 long getCreatedTime()
          This is the epoch time when this mapping was first created; in other words, when the repo was first associated with the content source.
 RepoContentSourcePK getRepoContentSourcePK()
           
 int hashCode()
           
 void setRepoContentSourcePK(RepoContentSourcePK pk)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DELETE_BY_CONTENT_SOURCE_ID

public static final String DELETE_BY_CONTENT_SOURCE_ID
See Also:
Constant Field Values

DELETE_BY_REPO_ID

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

RepoContentSource

protected RepoContentSource()

RepoContentSource

public RepoContentSource(Repo repo,
                         ContentSource contentSource)
Method Detail

getRepoContentSourcePK

public RepoContentSourcePK getRepoContentSourcePK()

setRepoContentSourcePK

public void setRepoContentSourcePK(RepoContentSourcePK pk)

getCreatedTime

public long getCreatedTime()
This is the epoch time when this mapping was first created; in other words, when the repo was first associated with the content source.


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.