|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kaiwitte.workbench.data.MutableRecordImpl
public class MutableRecordImpl
Default implementation of a MutableRecord
.
Constructor Summary | |
---|---|
MutableRecordImpl(DataScheme scheme,
java.lang.Object... fields)
Creates a new instance. |
|
MutableRecordImpl(long id,
DataScheme scheme,
java.lang.Object... fields)
Creates a new instance. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
long |
getID()
Returns the ID. |
DataScheme |
getScheme()
Returns the associated scheme. |
java.lang.Object |
getValue(int fieldNumber)
Returns the value. |
int |
hashCode()
|
void |
setValue(int fieldNumber,
java.lang.Object fieldValue)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MutableRecordImpl(long id, DataScheme scheme, java.lang.Object... fields)
id
- the id of the recordscheme
- the data scheme that describes this record's structurefields
- the contentpublic MutableRecordImpl(DataScheme scheme, java.lang.Object... fields)
scheme
- the data scheme that describes this record's structurefields
- the contentMethod Detail |
---|
public void setValue(int fieldNumber, java.lang.Object fieldValue)
setValue
in interface MutableRecord
public long getID()
Record
getID
in interface Record
public java.lang.Object getValue(int fieldNumber)
Record
getValue
in interface Record
fieldNumber
- the index
public DataScheme getScheme()
Record
getScheme
in interface Record
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |