|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rhq.core.domain.content.InstalledPackage
public class InstalledPackage
Represents a specific package
that is installed on a resource. Each instance of this object is
associated to one and only one PackageVersion
.
Field Summary | |
---|---|
static String |
QUERY_DELETE_BY_RESOURCES
|
static String |
QUERY_FIND_BY_RESOURCE_AND_PACKAGE
|
static String |
QUERY_FIND_BY_RESOURCE_AND_PACKAGE_VER
|
static String |
QUERY_FIND_BY_RESOURCE_ID
|
static String |
QUERY_FIND_BY_RESOURCE_ID_AND_PKG_VER_ID
|
static String |
QUERY_FIND_BY_SET_OF_IDS
|
static String |
QUERY_FIND_BY_SET_OF_PACKAGE_VER_IDS
|
static String |
QUERY_FIND_INSTALLED_PACKAGE_HISTORY
|
static String |
QUERY_FIND_PACKAGE_LIST_ITEM_COMPOSITE
|
static String |
QUERY_FIND_PACKAGE_LIST_TYPES
|
static String |
QUERY_FIND_PACKAGE_LIST_VERSIONS
|
Constructor Summary | |
---|---|
InstalledPackage()
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
int |
getId()
|
Long |
getInstallationDate()
Timestamp the installation was performed, if it is known. |
PackageVersion |
getPackageVersion()
Specific version of the package installed on the resource . |
Resource |
getResource()
Resource where the package is installed. |
Subject |
getUser()
User who performed the installation, if it is known. |
int |
hashCode()
|
void |
setId(int id)
|
void |
setInstallationDate(Long installationDate)
|
void |
setPackageVersion(PackageVersion packageVersion)
|
void |
setResource(Resource resource)
|
void |
setUser(Subject user)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String QUERY_FIND_BY_SET_OF_IDS
public static final String QUERY_FIND_BY_SET_OF_PACKAGE_VER_IDS
public static final String QUERY_FIND_BY_RESOURCE_ID
public static final String QUERY_FIND_BY_RESOURCE_ID_AND_PKG_VER_ID
public static final String QUERY_FIND_BY_RESOURCE_AND_PACKAGE
public static final String QUERY_FIND_BY_RESOURCE_AND_PACKAGE_VER
public static final String QUERY_FIND_PACKAGE_LIST_ITEM_COMPOSITE
public static final String QUERY_FIND_PACKAGE_LIST_TYPES
public static final String QUERY_FIND_PACKAGE_LIST_VERSIONS
public static final String QUERY_FIND_INSTALLED_PACKAGE_HISTORY
public static final String QUERY_DELETE_BY_RESOURCES
Constructor Detail |
---|
public InstalledPackage()
Method Detail |
---|
public int getId()
public void setId(int id)
public Resource getResource()
public void setResource(Resource resource)
public PackageVersion getPackageVersion()
resource
.
public void setPackageVersion(PackageVersion packageVersion)
public Long getInstallationDate()
public void setInstallationDate(Long installationDate)
public Subject getUser()
public void setUser(Subject user)
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |