org.rhq.core.domain.content
Class PackageDetails

java.lang.Object
  extended by org.rhq.core.domain.content.PackageDetails
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ResourcePackageDetails

public class PackageDetails
extends Object
implements Serializable

Content source plugin representation of a package. Instances of this class are accessible to the content source to describe the server's last known set of packages for the content source.

This is also the same object used in the plugin container to deal with details of a specific package.

See Also:
Serialized Form

Constructor Summary
PackageDetails(PackageDetailsKey key)
          Creates a new PackageDetails object that describes the package version identified in the specified key.
 
Method Summary
 boolean equals(Object o)
           
 String getArchitectureName()
           
 String getClassification()
           
 String getDisplayName()
           
 String getDisplayVersion()
           
 Configuration getExtraProperties()
           
 Long getFileCreatedDate()
           
 String getFileName()
           
 Long getFileSize()
           
 PackageDetailsKey getKey()
           
 String getLicenseName()
           
 String getLicenseVersion()
           
 String getLocation()
           
 String getLongDescription()
           
 String getMD5()
           
 byte[] getMetadata()
           
 String getName()
           
 String getPackageTypeName()
           
 String getSHA256()
           
 String getShortDescription()
           
 String getVersion()
           
 int hashCode()
           
 void setClassification(String classification)
           
 void setDisplayName(String displayName)
           
 void setDisplayVersion(String displayVersion)
           
 void setExtraProperties(Configuration properties)
           
 void setFileCreatedDate(Long fileCreatedDate)
           
 void setFileName(String fileName)
           
 void setFileSize(Long fileSize)
           
 void setLicenseName(String licenseName)
           
 void setLicenseVersion(String licenseVersion)
           
 void setLocation(String location)
           
 void setLongDescription(String longDescription)
           
 void setMD5(String MD5)
           
 void setMetadata(byte[] metadata)
           
 void setSHA256(String sha)
           
 void setShortDescription(String shortDescription)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PackageDetails

public PackageDetails(PackageDetailsKey key)
Creates a new PackageDetails object that describes the package version identified in the specified key.

Parameters:
key - identifies the package; cannot be null
Method Detail

getKey

public PackageDetailsKey getKey()

getName

public String getName()

getVersion

public String getVersion()

getArchitectureName

public String getArchitectureName()

getPackageTypeName

public String getPackageTypeName()

getDisplayVersion

public String getDisplayVersion()

setDisplayVersion

public void setDisplayVersion(String displayVersion)

getClassification

public String getClassification()

setClassification

public void setClassification(String classification)

getDisplayName

public String getDisplayName()

setDisplayName

public void setDisplayName(String displayName)

getShortDescription

public String getShortDescription()

setShortDescription

public void setShortDescription(String shortDescription)

getLongDescription

public String getLongDescription()

setLongDescription

public void setLongDescription(String longDescription)

getFileName

public String getFileName()

setFileName

public void setFileName(String fileName)

getFileSize

public Long getFileSize()

setFileSize

public void setFileSize(Long fileSize)

getMD5

public String getMD5()

setMD5

public void setMD5(String MD5)

getSHA256

public String getSHA256()

setSHA256

public void setSHA256(String sha)

getFileCreatedDate

public Long getFileCreatedDate()

setFileCreatedDate

public void setFileCreatedDate(Long fileCreatedDate)

getLicenseName

public String getLicenseName()

setLicenseName

public void setLicenseName(String licenseName)

getLicenseVersion

public String getLicenseVersion()

setLicenseVersion

public void setLicenseVersion(String licenseVersion)

getMetadata

public byte[] getMetadata()

setMetadata

public void setMetadata(byte[] metadata)

getExtraProperties

public Configuration getExtraProperties()

setLocation

public void setLocation(String location)

getLocation

public String getLocation()

setExtraProperties

public void setExtraProperties(Configuration properties)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.