org.rhq.core.domain.content
Class PackageBits
java.lang.Object
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
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 |
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
PackageBits
public PackageBits()
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 RHQ Project Advisory Board (Red Hat, Inc. and Hyperic, Inc.). All Rights Reserved.