|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmaito.datacollecting.Record
public class Record
| Field Summary | |
|---|---|
static int |
IDLENGTH
|
static int |
STMTKEYLEN
|
static int |
STMTVALLEN
|
| Constructor Summary | |
|---|---|
Record(java.lang.String newID)
Class constructor |
|
| Method Summary | |
|---|---|
void |
deleteField(java.lang.String fieldKey)
Deletes the field and all its values. |
boolean |
equals(Record record)
Two records are considered the same only if they have the same id. |
java.util.Vector |
getField(java.lang.String fieldName)
Gets the value(s) of the field with the specified key. |
java.util.HashSet |
getFieldNames()
Returns a list of keys in this record |
java.lang.String |
getID()
Gets the ID of this record |
java.lang.String |
getIntegratedTo()
|
boolean |
setField(java.lang.String fieldKey,
java.lang.String fieldValue)
Adds a value to a field. |
void |
setIntegratedTo(java.lang.String s)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int IDLENGTH
public static final int STMTKEYLEN
public static final int STMTVALLEN
| Constructor Detail |
|---|
public Record(java.lang.String newID)
newID - The ID to be set for the new record, must not be null
(In case of null value, ID is assumed to be an empty String)| Method Detail |
|---|
public java.util.HashSet getFieldNames()
public java.util.Vector getField(java.lang.String fieldName)
fieldName - The key of the required field
public java.lang.String getID()
public boolean setField(java.lang.String fieldKey,
java.lang.String fieldValue)
fieldKey - A key to be inserted or modified, must not be nullfieldValue - A value to be inserted
public void deleteField(java.lang.String fieldKey)
fieldKey - the field to be deletedpublic boolean equals(Record record)
public void setIntegratedTo(java.lang.String s)
public java.lang.String getIntegratedTo()
integratedTo is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||