org.rhq.core.domain.content.composite
Class PackageAndLatestVersionComposite
java.lang.Object
org.rhq.core.domain.content.composite.PackageAndLatestVersionComposite
- All Implemented Interfaces:
- Serializable
public class PackageAndLatestVersionComposite
- extends Object
- implements Serializable
This composite holds a general package together with a package version that is found
to be the "latest" using the version comparison.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PackageAndLatestVersionComposite
public PackageAndLatestVersionComposite()
PackageAndLatestVersionComposite
public PackageAndLatestVersionComposite(Package generalPackage)
PackageAndLatestVersionComposite
public PackageAndLatestVersionComposite(Package generalPakcage,
PackageVersion packageVersion)
getGeneralPackage
public Package getGeneralPackage()
- Returns:
- the generalPackage
setGeneralPackage
public void setGeneralPackage(Package generalPackage)
- Parameters:
generalPackage
- the generalPackage to set
getLatestPackageVersion
public PackageVersion getLatestPackageVersion()
- Returns:
- the latestPackageVersion
setLatestPackageVersion
public void setLatestPackageVersion(PackageVersion latestPackageVersion)
- Parameters:
latestPackageVersion
- the latestPackageVersion to set
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.