|
Spring Data Neo4j | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldAccessor
interface for field accessors, encapsulates reading and writing from fields and write support information about the field.
It is used by the EntityState
.
Method Summary | |
---|---|
Object |
getDefaultValue()
Returns a default implementation for a field or null if none is provided. |
Object |
getValue(Object entity,
MappingPolicy mappingPolicy)
|
boolean |
isWriteable(Object entity)
|
Object |
setValue(Object entity,
Object newVal,
MappingPolicy mappingPolicy)
handles field write modification. |
Method Detail |
---|
Object getDefaultValue()
null
if none is provided.
This default implementation is returned in detached mode by the DetachedEntityState
when the value of the field is get.
null
if none is provided.Object setValue(Object entity, Object newVal, MappingPolicy mappingPolicy)
entity
- newVal
- mappingPolicy
-
Object getValue(Object entity, MappingPolicy mappingPolicy)
entity
- mappingPolicy
-
boolean isWriteable(Object entity)
entity
-
|
Spring Data Neo4j | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |