org.apache.xindice.core.data
Class Record
java.lang.Object
|
+--org.apache.xindice.core.data.Record
- public final class Record
- extends Object
Record is a container for Key/Value pair. Record also provides
metadata for a Value stored in the database.
- Version:
- $Revision: 511426 $, $Date: 2007-02-24 22:25:02 -0500 (Sat, 24 Feb 2007) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CREATED
public static final String CREATED
MODIFIED
public static final String MODIFIED
OWNER
public static final String OWNER
GROUP
public static final String GROUP
Record
public Record()
Record
public Record(Key key,
Value value,
Map meta)
Record
public Record(Key key,
Value value)
getKey
public Key getKey()
- getKey returns the Record's Key.
- Returns:
- The Record's Key
setValue
public void setValue(Value value)
- setValue sets the Record's Value.
- Parameters:
value
- The new Value
setValue
public void setValue(String value)
- setValue sets the Record's Value.
- Parameters:
value
- The new Value
getValue
public Value getValue()
- getValue returns the Record's Value.
- Returns:
- The Record's Value
getMetaData
public Object getMetaData(Object name)
- getMetaData returns metadata about the Value.
- Parameters:
name
- The property name- Returns:
- The metadata value
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.