org.rhq.core.domain.content
Class RepoDistribution
java.lang.Object
org.rhq.core.domain.content.RepoDistribution
- All Implemented Interfaces:
- Serializable
public class RepoDistribution
- 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 Distribution
.
- See Also:
- Serialized Form
DELETE_BY_KICKSTART_TREE_ID
public static final String DELETE_BY_KICKSTART_TREE_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
RepoDistribution
protected RepoDistribution()
RepoDistribution
public RepoDistribution(Repo repo,
Distribution dist)
getRepoDistributionPK
public RepoDistributionPK getRepoDistributionPK()
setRepoDistributionPK
public void setRepoDistributionPK(RepoDistributionPK pk)
getLastModified
public long getLastModified()
- This is the epoch time when this mapping was first created; in other words, when the repo was first associated
with the content source.
getRepo
public Repo getRepo()
getDistribution
public Distribution getDistribution()
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.