public final class DataSnapshot extends Object implements Serializable
DataSnapshot
encapsulates an EntityBean
. There is
(should be) only one snapshot per row in the database. They cannot be
modified and are automatically kept in sync with database changes. If you call
getEntityBean()
you will get a copy of the current database values.Modifier and Type | Method and Description |
---|---|
boolean |
delete() |
boolean |
equals(Object obj)
True if they represent the same database table row.
|
EntityBean |
getEntityBean() |
int |
hashCode() |
static DataSnapshot |
insert(EntityBean aBean) |
boolean |
refresh() |
String |
toString() |
boolean |
update(EntityBean aBean) |
public static DataSnapshot insert(EntityBean aBean)
public boolean delete()
public boolean equals(Object obj)
public EntityBean getEntityBean()
public boolean refresh()
public boolean update(EntityBean aBean)