org.rhq.core.domain.content.composite
Class PackageAndLatestVersionComposite

java.lang.Object
  extended by 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

Constructor Summary
PackageAndLatestVersionComposite()
           
PackageAndLatestVersionComposite(Package generalPackage)
           
PackageAndLatestVersionComposite(Package generalPakcage, PackageVersion packageVersion)
           
 
Method Summary
 Package getGeneralPackage()
           
 PackageVersion getLatestPackageVersion()
           
 void setGeneralPackage(Package generalPackage)
           
 void setLatestPackageVersion(PackageVersion latestPackageVersion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageAndLatestVersionComposite

public PackageAndLatestVersionComposite()

PackageAndLatestVersionComposite

public PackageAndLatestVersionComposite(Package generalPackage)

PackageAndLatestVersionComposite

public PackageAndLatestVersionComposite(Package generalPakcage,
                                        PackageVersion packageVersion)
Method Detail

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.