|
Xindice API version 1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xindice.core.data.Record
public final class Record
Record is a container for Key/Value pair. Record also provides metadata for a Value stored in the database.
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 |
---|
public static final String CREATED
public static final String MODIFIED
public static final String OWNER
public static final String GROUP
Constructor Detail |
---|
public Record()
public Record(Key key, Value value, Map meta)
public Record(Key key, Value value)
Method Detail |
---|
public Key getKey()
public void setValue(Value value)
value
- The new Valuepublic void setValue(String value)
value
- The new Valuepublic Value getValue()
public Object getMetaData(Object name)
name
- The property name
|
Xindice API version 1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |