| Package | Description |
|---|---|
| org.neo4j.ogm.metadata |
| Modifier and Type | Method and Description |
|---|---|
MethodInfo |
MethodsInfo.get(String methodName) |
MethodInfo |
ClassInfo.identityGetter()
The identity getter is any getter annotated with @NodeId returning a Long, or if none exists, a getter
returning Long called 'getId'
|
MethodInfo |
ClassInfo.identitySetter()
The identity setter is any setter annotated with @NodeId taking a Long parameter, or if none exists, a setter
called 'setId' taking a Long parameter
|
MethodInfo |
ClassInfo.propertyGetter(String propertyName)
Finds the property getter with a specific name from the specified ClassInfo's property getters
|
MethodInfo |
ClassInfo.propertySetter(String propertyName)
Finds the property setter with a specific name from the specified ClassInfo's property setters
|
MethodInfo |
ClassInfo.relationshipGetter(String relationshipName)
Finds the relationship getter with a specific name from the specified ClassInfo's relationship getters
|
MethodInfo |
ClassInfo.relationshipGetter(String relationshipName,
String relationshipDirection,
boolean strict)
Finds the relationship getter with a specific name and direction from the specified ClassInfo's relationship getters
|
MethodInfo |
ClassInfo.relationshipSetter(String relationshipName)
Finds the relationship setter with a specific name from the specified ClassInfo's relationship setters
|
MethodInfo |
ClassInfo.relationshipSetter(String relationshipName,
String relationshipDirection,
boolean strict)
Finds the relationship setter with a specific name and direction from the specified ClassInfo's relationship setters.
|
| Modifier and Type | Method and Description |
|---|---|
Set<MethodInfo> |
ClassInfo.candidateRelationshipSetters(String relationshipName,
String relationshipDirection,
boolean strict)
Finds all relationship setters with a specific name and direction from the specified ClassInfo's relationship setters.
|
List<MethodInfo> |
ClassInfo.findGetters(Class<?> returnType)
Find all getter MethodInfos for the specified ClassInfo whose return type matches the supplied class
|
List<MethodInfo> |
ClassInfo.findIterableGetters(Class iteratedType)
Finds all getter methods whose parameterised return type is equivalent to Array<X> or assignable from Iterable<X>
where X is the generic parameter type of the Array or Iterable
|
List<MethodInfo> |
ClassInfo.findIterableGetters(Class iteratedType,
String relationshipType,
String relationshipDirection,
boolean strict)
Finds all getter methods whose parameterised return 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 this getter is annotated with is "relationshipType"
and the direction of the relationship is "relationshipDirection"
|
List<MethodInfo> |
ClassInfo.findIterableSetters(Class iteratedType)
Finds all setter methods whose parameter signature is equivalent to Array<X> or assignable from Iterable<X>
where X is the generic parameter type of the Array or Iterable
|
List<MethodInfo> |
ClassInfo.findIterableSetters(Class iteratedType,
String relationshipType,
String relationshipDirection,
boolean strict)
Finds all setter methods whose parameter signature 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 this setter is annotated with is "relationshipType"
and the relationship direction matches "relationshipDirection"
|
List<MethodInfo> |
ClassInfo.findSetters(Class<?> parameterType)
Find all setter MethodInfos for the specified ClassInfo whose parameter type matches the supplied class
|
Collection<MethodInfo> |
MethodsInfo.getters() |
Collection<MethodInfo> |
MethodsInfo.methods() |
Collection<MethodInfo> |
ClassInfo.propertyGetters()
A property getter is any getter annotated with @Property, or any getter whose return type can be mapped to a
node property.
|
Collection<MethodInfo> |
ClassInfo.propertySetters()
A property setter is any setter annotated with @Property, or any setter whose parameter type can be mapped to a
node property.
|
Collection<MethodInfo> |
ClassInfo.relationshipGetters()
A relationship getter is any getter annotated with @Relationship, or any getter whose return type cannot be mapped to a
node property.
|
Collection<MethodInfo> |
ClassInfo.relationshipSetters()
A relationship setter is any setter annotated with @Relationship, or any setter whose parameter type cannot be mapped to a
node property.
|
Collection<MethodInfo> |
MethodsInfo.setters() |
| Modifier and Type | Method and Description |
|---|---|
Method |
ClassInfo.getMethod(MethodInfo methodInfo,
Class... parameterTypes) |
Copyright © 2016 Neo Technology, Inc.. All rights reserved.