org.rhq.core.domain.content
Class ResourceRepo
java.lang.Object
org.rhq.core.domain.content.ResourceRepo
- All Implemented Interfaces:
- Serializable
public class ResourceRepo
- extends Object
- implements Serializable
This is the many-to-many entity that correlates a repo with one of its subscribers. It is an explicit relationship
mapping entity between Repo
and Resource
.
- See Also:
- Serialized Form
DELETE_BY_RESOURCES
public static final String DELETE_BY_RESOURCES
- See Also:
- Constant Field Values
DELETE_BY_RESOURCE_ID
public static final String DELETE_BY_RESOURCE_ID
- See Also:
- Constant Field Values
DELETE_BY_REPO_ID
public static final String DELETE_BY_REPO_ID
- See Also:
- Constant Field Values
ResourceRepo
protected ResourceRepo()
ResourceRepo
public ResourceRepo(Resource resource,
Repo repo)
getResourceRepoPK
public ResourceRepoPK getResourceRepoPK()
setResourceRepoPK
public void setResourceRepoPK(ResourceRepoPK pk)
getCreatedTime
public long getCreatedTime()
- This is the epoch time when this mapping was first created; in other words, when the resource was subscribed to
the repo.
- Returns:
- the time the resource was subscribed to the repo
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.