public abstract class AbstractRichEntity extends Object implements RichEntity, org.rapidoid.entity.IEntity
Constructor and Description |
---|
AbstractRichEntity() |
Modifier and Type | Method and Description |
---|---|
Map<Object,Object> |
_extras() |
<T> List<T> |
_list(Object key) |
<K,V> ConcurrentMap<K,V> |
_map(Object key) |
<T> Set<T> |
_set(Object key) |
<T> T |
_tmp(Object key) |
void |
_tmp(Object key,
Object value) |
Map<Object,Object> |
_tmps() |
String |
createdBy() |
void |
createdBy(String createdBy) |
Date |
createdOn() |
void |
createdOn(Date createdOn) |
boolean |
equals(Object obj) |
<T> T |
get(String attr) |
int |
hashCode() |
String |
id() |
void |
id(Long id) |
void |
id(String id) |
String |
lastUpdatedBy() |
void |
lastUpdatedBy(String lastUpdatedBy) |
Date |
lastUpdatedOn() |
void |
lastUpdatedOn(Date lastUpdatedOn) |
void |
set(String attr,
Object value) |
String |
version() |
void |
version(Long version) |
void |
version(String version) |
public <T> T get(String attr)
get
in interface RichEntity
public void set(String attr, Object value)
set
in interface RichEntity
public String id()
id
in interface org.rapidoid.entity.IEntity
public void id(String id)
id
in interface org.rapidoid.entity.IEntity
public void id(Long id)
public String version()
version
in interface org.rapidoid.entity.IEntity
public void version(String version)
version
in interface org.rapidoid.entity.IEntity
public void version(Long version)
public String createdBy()
createdBy
in interface RichEntity
public void createdBy(String createdBy)
createdBy
in interface RichEntity
public Date createdOn()
createdOn
in interface RichEntity
public void createdOn(Date createdOn)
createdOn
in interface RichEntity
public String lastUpdatedBy()
lastUpdatedBy
in interface RichEntity
public void lastUpdatedBy(String lastUpdatedBy)
lastUpdatedBy
in interface RichEntity
public Date lastUpdatedOn()
lastUpdatedOn
in interface RichEntity
public void lastUpdatedOn(Date lastUpdatedOn)
lastUpdatedOn
in interface RichEntity
public <K,V> ConcurrentMap<K,V> _map(Object key)
_map
in interface RichEntity
public <T> List<T> _list(Object key)
_list
in interface RichEntity
public <T> Set<T> _set(Object key)
_set
in interface RichEntity
public <T> T _tmp(Object key)
_tmp
in interface RichEntity
public void _tmp(Object key, Object value)
_tmp
in interface RichEntity
public Map<Object,Object> _extras()
_extras
in interface RichEntity
public Map<Object,Object> _tmps()
_tmps
in interface RichEntity
Copyright © 2014–2015 Nikolche Mihajlovski and contributors. All rights reserved.