Xindice API
version 1.2m1

org.apache.xindice.core.data
Class Record

java.lang.Object
  extended byorg.apache.xindice.core.data.Record

public final class Record
extends Object

Record is a container for key/value pairs and all meta data stored with this record in the database.

Version:
$Revision: 571953 $, $Date: 2007-09-02 07:04:38 -0400 (Sun, 02 Sep 2007) $

Field Summary
static String CREATED
           
static String GROUP
           
static String MODIFIED
           
static String OWNER
           
 
Constructor Summary
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.
 
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
See Also:
Constant Field Values

MODIFIED

public static final String MODIFIED
See Also:
Constant Field Values

OWNER

public static final String OWNER
See Also:
Constant Field Values

GROUP

public static final String GROUP
See Also:
Constant Field Values
Constructor Detail

Record

public Record(Key key,
              Value value)

Record

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

getKey

public Key getKey()
getKey returns the Record's Key.

Returns:
The Record's Key

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.2m1

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