Modifier and Type | Field and Description |
---|---|
protected FLDict |
_data |
protected Dictionary |
_dict |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(String key)
Tests whether a property exists or not.
|
int |
count()
Gets a number of the entries in the dictionary.
|
boolean |
equals(Object o) |
protected void |
finalize() |
Array |
getArray(String key) |
Blob |
getBlob(String key)
Gets a property's value as a Blob.
|
boolean |
getBoolean(String key)
Gets a property's value as a boolean.
|
protected FLDict |
getData() |
Date |
getDate(String key)
Gets a property's value as a Date.
|
Dictionary |
getDictionary(String key) |
double |
getDouble(String key)
Gets a property's value as an double.
|
float |
getFloat(String key)
Gets a property's value as an float.
|
String |
getId()
return the document's ID.
|
int |
getInt(String key)
Gets a property's value as an int.
|
List<String> |
getKeys() |
long |
getLong(String key)
Gets a property's value as an long.
|
Number |
getNumber(String key)
Gets a property's value as a Number.
|
long |
getSequence()
Return the sequence number of the document in the database.
|
String |
getString(String key)
Gets a property's value as a String.
|
Object |
getValue(String key)
Gets a property's value as an object.
|
int |
hashCode() |
boolean |
isDeleted()
Return whether the document is deleted
|
Iterator<String> |
iterator() |
Map<String,Object> |
toMap()
Gets content of the current object as an Map.
|
MutableDocument |
toMutable()
Return a mutable copy of the document
|
clone, getClass, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected FLDict _data
protected Dictionary _dict
public String getId()
public long getSequence()
public boolean isDeleted()
public MutableDocument toMutable()
public int count()
public Object getValue(String key)
key
- the key.public String getString(String key)
key
- the keypublic Number getNumber(String key)
key
- the keypublic int getInt(String key)
key
- the keypublic long getLong(String key)
key
- the keypublic float getFloat(String key)
key
- the keypublic double getDouble(String key)
key
- the keypublic boolean getBoolean(String key)
key
- the keypublic Blob getBlob(String key)
key
- the keypublic Date getDate(String key)
key
- the keypublic Dictionary getDictionary(String key)
public Map<String,Object> toMap()
public boolean contains(String key)
key
- the keyprotected void finalize() throws Throwable
protected FLDict getData()