| Package | Description |
|---|---|
| org.neo4j.ogm.annotations | |
| org.neo4j.ogm.metadata |
| Constructor and Description |
|---|
FieldWriter(ClassInfo classInfo,
FieldInfo fieldInfo) |
| Modifier and Type | Method and Description |
|---|---|
FieldInfo |
FieldsInfo.get(String name) |
FieldInfo |
ClassInfo.identityField()
The identity field is a field annotated with @NodeId, or if none exists, a field
of type Long called 'id'
|
FieldInfo |
ClassInfo.propertyField(String propertyName)
Finds the property field with a specific property name from the ClassInfo's property fields
|
FieldInfo |
ClassInfo.propertyFieldByName(String propertyName)
Finds the property field with a specific field name from the ClassInfo's property fields
|
FieldInfo |
ClassInfo.relationshipField(String relationshipName)
Finds the relationship field with a specific name from the ClassInfo's relationship fields
|
FieldInfo |
ClassInfo.relationshipField(String relationshipName,
String relationshipDirection,
boolean strict)
Finds the relationship field with a specific name and direction from the ClassInfo's relationship fields
|
FieldInfo |
ClassInfo.relationshipFieldByName(String fieldName)
Finds the relationship field with a specific property name from the ClassInfo's relationship fields
|
| Modifier and Type | Method and Description |
|---|---|
Set<FieldInfo> |
ClassInfo.candidateRelationshipFields(String relationshipName,
String relationshipDirection,
boolean strict)
Finds all relationship fields with a specific name and direction from the ClassInfo's relationship fields
|
Collection<FieldInfo> |
FieldsInfo.fields() |
List<FieldInfo> |
ClassInfo.findFields(Class<?> fieldType)
Find all FieldInfos for the specified ClassInfo whose type matches the supplied fieldType
|
List<FieldInfo> |
ClassInfo.findFields(String annotation)
Find all FieldInfos for the specified ClassInfo which have the specified annotation
|
List<FieldInfo> |
ClassInfo.findIterableFields()
|
List<FieldInfo> |
ClassInfo.findIterableFields(Class iteratedType)
Finds all fields whose type is equivalent to Array<X> or assignable from Iterable<X>
where X is the generic parameter type of the Array or Iterable
|
List<FieldInfo> |
ClassInfo.findIterableFields(Class iteratedType,
String relationshipType,
String relationshipDirection,
boolean strict)
Finds all fields whose type is equivalent to Array<X> or assignable from Iterable<X>
where X is the generic parameter type of the Array or Iterable and the relationship type backing this iterable is "relationshipType"
|
Collection<FieldInfo> |
ClassInfo.propertyFields()
A property field is any field annotated with @Property, or any field that can be mapped to a
node property.
|
Collection<FieldInfo> |
ClassInfo.relationshipFields()
A relationship field is any field annotated with @Relationship, or any field that cannot be mapped to a
node property.
|
| Modifier and Type | Method and Description |
|---|---|
Field |
ClassInfo.getField(FieldInfo fieldInfo) |
Copyright © 2016 Neo Technology, Inc.. All rights reserved.