org.rhq.core.domain.content
Class RepoPackageVersion

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

public class RepoPackageVersion
extends Object
implements Serializable

This is the many-to-many entity that correlates a repo with one of the package versions it contains. It is an explicit relationship mapping entity between Repo and PackageVersion.

See Also:
Serialized Form

Field Summary
static String DELETE_BY_REPO_ID
           
static String DELETE_MULTIPLE_WHEN_NO_PROVIDER
           
static String DELETE_WHEN_NO_PROVIDER
           
 
Constructor Summary
protected RepoPackageVersion()
           
  RepoPackageVersion(Repo repo, PackageVersion packageVersion)
           
 
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 package version.
 RepoPackageVersionPK getRepoPackageVersionPK()
           
 int hashCode()
           
 void setRepoPackageVersionPK(RepoPackageVersionPK pk)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DELETE_BY_REPO_ID

public static final String DELETE_BY_REPO_ID
See Also:
Constant Field Values

DELETE_WHEN_NO_PROVIDER

public static final String DELETE_WHEN_NO_PROVIDER
See Also:
Constant Field Values

DELETE_MULTIPLE_WHEN_NO_PROVIDER

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

RepoPackageVersion

protected RepoPackageVersion()

RepoPackageVersion

public RepoPackageVersion(Repo repo,
                          PackageVersion packageVersion)
Method Detail

getRepoPackageVersionPK

public RepoPackageVersionPK getRepoPackageVersionPK()

setRepoPackageVersionPK

public void setRepoPackageVersionPK(RepoPackageVersionPK 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 package version.


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.