Xindice API
version 1.1

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) $

Field Summary
static String CREATED
           
static String GROUP
           
static String MODIFIED
           
static String OWNER
           
 
Constructor Summary
Record()
           
Record(Key key, Value value)
           
Record(Key key, Value value, Map meta)
           
 
Method Summary
 Key getKey()
          getKey returns the Record's Key.
 Object getMetaData(Object name)
          getMetaData returns metadata about the Value.
 Value getValue()
          getValue returns the Record's Value.
 void setValue(String value)
          setValue sets the Record's Value.
 void setValue(Value value)
          setValue sets the Record's Value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CREATED

public static final String CREATED

MODIFIED

public static final String MODIFIED

OWNER

public static final String OWNER

GROUP

public static final String GROUP
Constructor Detail

Record

public Record()

Record

public Record(Key key,
              Value value,
              Map meta)

Record

public Record(Key key,
              Value value)
Method Detail

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

Xindice API
version 1.1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.