Package | Description |
---|---|
org.neo4j.ogm.exception.core | |
org.neo4j.ogm.metadata | |
org.neo4j.ogm.metadata.reflect |
Constructor and Description |
---|
InvalidPropertyFieldException(FieldInfo invalidField) |
Modifier and Type | Method and Description |
---|---|
FieldInfo |
ClassInfo.getEndNodeReader()
Return a FieldInfo for the EndNode of a RelationshipEntity
|
FieldInfo |
ClassInfo.getFieldInfo(String propertyName) |
FieldInfo |
ClassInfo.getStartNodeReader()
Return a FieldInfo for the StartNode of a RelationshipEntity
|
FieldInfo |
ClassInfo.getVersionField() |
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.identityFieldOrNull() |
FieldInfo |
ClassInfo.labelFieldOrNull()
The label field is an optional field annotated with @Labels.
|
FieldInfo |
ClassInfo.primaryIndexField() |
FieldInfo |
ClassInfo.propertyField(String propertyName)
Finds the property field with a specific property name from the ClassInfo's property fields
Note that this method does not allow for property names with differing case.
|
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.compositeFields() |
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.getIndexFields() |
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.
|
Collection<FieldInfo> |
ClassInfo.requiredFields() |
Modifier and Type | Method and Description |
---|---|
Field |
ClassInfo.getField(FieldInfo fieldInfo) |
Modifier and Type | Method and Description |
---|---|
static FieldInfo |
EntityAccessManager.getIterableField(ClassInfo classInfo,
Class<?> parameterType,
String relationshipType,
String relationshipDirection)
Returns an FieldWriter for an iterable of a non-primitive scalar type defined by a ClassInfo
|
static FieldInfo |
EntityAccessManager.getRelationalReader(ClassInfo classInfo,
String relationshipType,
String relationshipDirection)
Returns a FieldInfo for a scalar type definition on a ClassInfo that is not a primitive graph property
|
static FieldInfo |
EntityAccessManager.getRelationalWriter(ClassInfo classInfo,
String relationshipType,
String relationshipDirection,
Class<?> objectType)
Returns a FieldWriter for a scalar type on a ClassInfo that is not a primitive graph property
|
static FieldInfo |
EntityAccessManager.getRelationalWriter(ClassInfo classInfo,
String relationshipType,
String relationshipDirection,
Object scalarValue)
Returns a FieldWriter for a scalar value represented as a relationship in the graph (i.e.
|
Copyright © 2015–2020 Neo Technology, Inc.. All rights reserved.