public interface CommonRecord extends SchemaDependent
Modifier and Type | Method and Description |
---|---|
CommonValue |
getField(String field)
Retrieves the field's value by the given field name.
|
UUID |
getUuid()
Retrieves the uuid of this record.
|
boolean |
hasField(String field)
Checks if this record contains field with the given name.
|
void |
setField(String field,
CommonValue value)
Sets new value to the field with the given name (existing value will be replaced).
|
void |
setUuid(UUID uuid)
Sets the given uuid to the record.
|
getSchema
void setUuid(UUID uuid)
uuid
- uuid which is going to be set.UUID
boolean hasField(String field)
field
- the field name.void setField(String field, CommonValue value)
field
- the field name.value
- value which is going to be set.CommonValue
CommonValue getField(String field)
field
- the field name.CommonValue
Copyright © 2014. All rights reserved.