ostore.client
Class OSMetadata
java.lang.Object
|
+--ostore.client.OSMetadata
- All Implemented Interfaces:
- QuickSerializable
- public class OSMetadata
- extends Object
- implements QuickSerializable
The OSMetadata
class provides the application-level
interface to metadata that is visible at the user level. The
class provides a number of constants by which to refer to fields
in the metadata.
- Version:
- $Id: OSMetadata.java,v 1.13 2003/03/11 19:03:53 jeffpang Exp $
- Author:
- Patrick R. Eaton
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AGUID
public static final int AGUID
- See Also:
- Constant Field Values
OBJECT_CREATE_TIME
public static final int OBJECT_CREATE_TIME
- See Also:
- Constant Field Values
VERSION_CREATE_TIME
public static final int VERSION_CREATE_TIME
- See Also:
- Constant Field Values
VERSION_SEQUENCE_NUMBER
public static final int VERSION_SEQUENCE_NUMBER
- See Also:
- Constant Field Values
VERSION_SIZE
public static final int VERSION_SIZE
- See Also:
- Constant Field Values
EXPIRATION_DATE
public static final int EXPIRATION_DATE
- See Also:
- Constant Field Values
BLOCK_SIZE
public static final int BLOCK_SIZE
- See Also:
- Constant Field Values
OSMetadata
public OSMetadata(InputBuffer buffer)
throws QSException
serialize
public void serialize(OutputBuffer buffer)
- Description copied from interface:
QuickSerializable
- Add the object to the
buffer
.
- Specified by:
serialize
in interface QuickSerializable
- Parameters:
buffer
- the output buffer to add the object to
get
public Object get(int field_id)
get
public Object get(String field_id)