org.rhq.core.domain.content
Class PackageVersionContentSource
java.lang.Object
org.rhq.core.domain.content.PackageVersionContentSource
- All Implemented Interfaces:
- Serializable
public class PackageVersionContentSource
- extends Object
- implements Serializable
This is the many-to-many entity that correlates a package version with the content source that was responsible for
delivering that package. This is mainly to support the ability to see all the ContentSource
s that a
particular PackageVersion
can come from.
- See Also:
- Serialized Form
QUERY_FIND_BY_CONTENT_SOURCE_ID_NO_FETCH
public static final String QUERY_FIND_BY_CONTENT_SOURCE_ID_NO_FETCH
- See Also:
- Constant Field Values
QUERY_FIND_BY_CONTENT_SOURCE_ID
public static final String QUERY_FIND_BY_CONTENT_SOURCE_ID
- See Also:
- Constant Field Values
QUERY_FIND_BY_CONTENT_SOURCE_ID_AND_REPO_ID
public static final String QUERY_FIND_BY_CONTENT_SOURCE_ID_AND_REPO_ID
- See Also:
- Constant Field Values
QUERY_FIND_BY_CONTENT_SOURCE_ID_COUNT
public static final String QUERY_FIND_BY_CONTENT_SOURCE_ID_COUNT
- See Also:
- Constant Field Values
QUERY_FIND_BY_ALL_CONTENT_SOURCE_IDS
public static final String QUERY_FIND_BY_ALL_CONTENT_SOURCE_IDS
- See Also:
- Constant Field Values
QUERY_FIND_BY_ALL_CONTENT_SOURCE_IDS_COUNT
public static final String QUERY_FIND_BY_ALL_CONTENT_SOURCE_IDS_COUNT
- See Also:
- Constant Field Values
QUERY_FIND_BY_CONTENT_SOURCE_ID_AND_NOT_LOADED
public static final String QUERY_FIND_BY_CONTENT_SOURCE_ID_AND_NOT_LOADED
- See Also:
- Constant Field Values
QUERY_FIND_BY_CONTENT_SOURCE_ID_AND_NOT_LOADED_COUNT
public static final String QUERY_FIND_BY_CONTENT_SOURCE_ID_AND_NOT_LOADED_COUNT
- See Also:
- Constant Field Values
QUERY_FIND_BY_PKG_VER_ID_AND_RES_ID
public static final String QUERY_FIND_BY_PKG_VER_ID_AND_RES_ID
- See Also:
- Constant Field Values
DELETE_BY_CONTENT_SOURCE_ID
public static final String DELETE_BY_CONTENT_SOURCE_ID
- See Also:
- Constant Field Values
QUERY_FIND_BY_PACKAGE_VERSION_ID_NO_FETCH
public static final String QUERY_FIND_BY_PACKAGE_VERSION_ID_NO_FETCH
- See Also:
- Constant Field Values
QUERY_FIND_BY_PACKAGE_AND_REPO_ID_NO_FETCH
public static final String QUERY_FIND_BY_PACKAGE_AND_REPO_ID_NO_FETCH
- See Also:
- Constant Field Values
PackageVersionContentSource
protected PackageVersionContentSource()
PackageVersionContentSource
public PackageVersionContentSource(PackageVersion packageVersion,
ContentSource contentSource,
String location)
getPackageVersionContentSourcePK
public PackageVersionContentSourcePK getPackageVersionContentSourcePK()
setPackageVersionContentSourcePK
public void setPackageVersionContentSourcePK(PackageVersionContentSourcePK pk)
getLocation
public String getLocation()
- This is additional information about the relationship between the package version and the source from where it
came. Typically, this data helps locate the specific package version on the remote repository that the content
source connects to (e.g. this location can be a relative file path that is relative to a root directory of a
local file system content source repository).
setLocation
public void setLocation(String location)
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.