Xindice API
version 1.2m1

org.apache.xindice.core.data
Class Entry

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

public class Entry
extends Object

Entry is a high-level representation of a database record, that includes its internal meta information.

Version:
$Revision: 594588 $, $Date: 2007-11-13 12:21:25 -0500 (Tue, 13 Nov 2007) $

Field Summary
static byte BINARY
           
static String CREATED
           
static byte DOCUMENT
           
static String MODIFIED
           
static byte OBJECT
           
static byte UNKNOWN
           
 
Constructor Summary
Entry(byte type, Key key, Object value, Map meta)
           
Entry(Key key, byte[] value, Map meta)
           
Entry(Key key, org.w3c.dom.Document value, Map meta)
           
Entry(Key key, Map meta)
           
Entry(Key key, XMLSerializable value, Map meta)
           
 
Method Summary
static Map createMetaMap(Record record)
           
 long getCreationTime()
           
 byte getEntryType()
           
 Key getKey()
           
 Map getMeta()
           
 long getModificationTime()
           
 Object getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNKNOWN

public static final byte UNKNOWN
See Also:
Constant Field Values

DOCUMENT

public static final byte DOCUMENT
See Also:
Constant Field Values

BINARY

public static final byte BINARY
See Also:
Constant Field Values

OBJECT

public static final byte OBJECT
See Also:
Constant Field Values

CREATED

public static final String CREATED
See Also:
Constant Field Values

MODIFIED

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

Entry

public Entry(byte type,
             Key key,
             Object value,
             Map meta)

Entry

public Entry(Key key,
             org.w3c.dom.Document value,
             Map meta)

Entry

public Entry(Key key,
             byte[] value,
             Map meta)

Entry

public Entry(Key key,
             XMLSerializable value,
             Map meta)

Entry

public Entry(Key key,
             Map meta)
Method Detail

getEntryType

public byte getEntryType()

getKey

public Key getKey()

getValue

public Object getValue()

getMeta

public Map getMeta()

getCreationTime

public long getCreationTime()

getModificationTime

public long getModificationTime()

createMetaMap

public static Map createMetaMap(Record record)

Xindice API
version 1.2m1

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