org.rhq.core.domain.content
Class PackageBits

java.lang.Object
  extended by org.rhq.core.domain.content.PackageBits
All Implemented Interfaces:
Serializable

public class PackageBits
extends Object
implements Serializable

Contains the actual package contents ("the bits") for a particular PackageVersion.

See Also:
Serialized Form

Field Summary
static String DELETE_IF_NO_PACKAGE_VERSION
           
static String QUERY_PACKAGE_BITS_LOADED_STATUS_PACKAGE_VERSION_ID
           
static String TABLE_NAME
           
 
Constructor Summary
PackageBits()
           
 
Method Summary
 byte[] getBits()
          The actual content of the package ("the bits").
 int getId()
           
 void setBits(byte[] bits)
           
 void setId(int id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

QUERY_PACKAGE_BITS_LOADED_STATUS_PACKAGE_VERSION_ID

public static final String QUERY_PACKAGE_BITS_LOADED_STATUS_PACKAGE_VERSION_ID
See Also:
Constant Field Values

DELETE_IF_NO_PACKAGE_VERSION

public static final String DELETE_IF_NO_PACKAGE_VERSION
See Also:
Constant Field Values
Constructor Detail

PackageBits

public PackageBits()
Method Detail

getId

public int getId()

setId

public void setId(int id)

getBits

public byte[] getBits()
The actual content of the package ("the bits"). If the package content is not stored in the database, this will return null. In this case, the content is probably stored somewhere else on a local file system. When null is returned, it is assumed that who ever needs the content can know where to find it based on the PackageVersion details.


setBits

public void setBits(byte[] bits)


Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.