|
Project JXTA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.jxta.impl.xindice.core.data.Record
public final class Record
Record is a container for Key/Value pairs. Record also provides metadata for a Value stored in the database.
| Field Summary | |
|---|---|
static String |
CREATED
|
static String |
EXPIRATION
|
static String |
GROUP
|
static String |
LIFETIME
|
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 |
setKey(Key key)
setKey sets the Record's Key. |
void |
setValue(String value)
setValue sets the Record's Value. |
void |
setValue(Value value)
setValue sets the Record's Value. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String CREATED
public static final String MODIFIED
public static final String LIFETIME
public static final String EXPIRATION
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 void setKey(Key key)
key - The new keypublic 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
public String toString()
toString in class Object
|
JXTA J2SE | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||