|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.module.core.ByteFieldContainer
MMObjectNodes can contain Binary data. These BYTE fields can be retrieved, byt the node does not store them internally - nodes are cached, and caching large amounts of binary data is bad for performance. However, some classes keep a separate cache for binaries (i.e. Images). This class is meant to hold byte arrays while simultaneously keep data as to which object it is part of. This allows for caching and passing binary values between functions without loosing track of which image it is part of.
| Field Summary | |
int |
number
|
byte[] |
value
|
| Constructor Summary | |
ByteFieldContainer(int number,
byte[] value)
Constructor of this container class. |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int number
public byte[] value
| Constructor Detail |
public ByteFieldContainer(int number,
byte[] value)
number - The node number of the node where the byte[] is belonging to, or -1 if the byte array is not yet associated with a node.value - The byte array which this container is wrapping.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||