public class FieldReader extends Object implements RelationalReader, PropertyReader
| Constructor and Description |
|---|
FieldReader(ClassInfo classInfo,
FieldInfo fieldInfo) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isComposite() |
String |
propertyName()
Retrieves the property name as it would be written to the node or relationship in the graph database.
|
Object |
read(Object instance) |
Map<String,?> |
readComposite(Object instance) |
Object |
readProperty(Object instance)
Reads the value corresponding to this property from the given object.
|
String |
relationshipDirection() |
String |
relationshipType() |
String |
typeDescriptor() |
public Object read(Object instance)
read in interface RelationalReaderpublic Object readProperty(Object instance)
PropertyReaderreadProperty in interface PropertyReaderinstance - The instance from which to read the property valuenullpublic Map<String,?> readComposite(Object instance)
readComposite in interface PropertyReaderpublic String relationshipType()
relationshipType in interface RelationalReaderpublic String propertyName()
PropertyReaderpropertyName in interface PropertyReaderpropertyName in interface RelationalReaderpublic boolean isComposite()
isComposite in interface PropertyReaderpublic String relationshipDirection()
relationshipDirection in interface RelationalReaderpublic String typeDescriptor()
typeDescriptor in interface RelationalReaderCopyright © 2016 Neo Technology, Inc.. All rights reserved.