public class Neo4jPersistentProperty extends AnnotationBasedPersistentProperty<Neo4jPersistentProperty>
These attributes do not appear to be used/needed for SDN 4 to inter-operate correctly with SD-REST:
| Type | Property and Description |
|---|---|
boolean |
isId
Gets the value of the property idProperty.
|
boolean |
isVersion
Gets the value of the property versionProperty.
|
| Constructor and Description |
|---|
Neo4jPersistentProperty(org.neo4j.ogm.metadata.ClassInfo owningClassInfo,
Property property,
PersistentEntity<?,Neo4jPersistentProperty> owner,
SimpleTypeHolder simpleTypeHolder)
Constructs a new
Neo4jPersistentProperty based on the given arguments. |
| Modifier and Type | Method and Description |
|---|---|
protected Association<Neo4jPersistentProperty> |
createAssociation() |
boolean |
isAssociation()
Determines whether or not this property should be considered an association to another entity or whether it's
just a simple property that should be shown as a value.
|
boolean |
isIdProperty()
Gets the value of the property idProperty.
|
boolean |
isVersionProperty()
Gets the value of the property versionProperty.
|
boolean |
usePropertyAccess()
Overridden to force field access as opposed to getter method access for simplicity.
|
findAnnotation, findPropertyOrOwnerAnnotation, getSpelExpression, isAnnotationPresent, isTransient, isWritable, toStringequals, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityType, getProperty, getRawType, getSetter, getType, getTypeInformation, hashCode, isArray, isCollectionLike, isEntity, isMapclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetPersistentEntityTypes, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetterpublic boolean isIdProperty
isIdProperty in interface PersistentProperty<Neo4jPersistentProperty>isIdProperty in class AnnotationBasedPersistentProperty<Neo4jPersistentProperty>public boolean isVersionProperty
isVersionProperty in interface PersistentProperty<Neo4jPersistentProperty>isVersionProperty in class AnnotationBasedPersistentProperty<Neo4jPersistentProperty>public Neo4jPersistentProperty(org.neo4j.ogm.metadata.ClassInfo owningClassInfo,
Property property,
PersistentEntity<?,Neo4jPersistentProperty> owner,
SimpleTypeHolder simpleTypeHolder)
Neo4jPersistentProperty based on the given arguments.owningClassInfo - The ClassInfo of the object of which the property field is a memberproperty - The propertyowner - The owning PersistentEntity that corresponds to the given ClassInfosimpleTypeHolder - The SimpleTypeHolder that dictates whether the type of this property is considered simple
or notpublic boolean isIdProperty()
isIdProperty in interface PersistentProperty<Neo4jPersistentProperty>isIdProperty in class AnnotationBasedPersistentProperty<Neo4jPersistentProperty>public boolean isVersionProperty()
isVersionProperty in interface PersistentProperty<Neo4jPersistentProperty>isVersionProperty in class AnnotationBasedPersistentProperty<Neo4jPersistentProperty>public boolean usePropertyAccess()
usePropertyAccess in interface PersistentProperty<Neo4jPersistentProperty>usePropertyAccess in class AnnotationBasedPersistentProperty<Neo4jPersistentProperty>AnnotationBasedPersistentProperty.usePropertyAccess()public boolean isAssociation()
This implementation works by looking for non-transient members annotated with @Relationship.
isAssociation in interface PersistentProperty<Neo4jPersistentProperty>isAssociation in class AnnotationBasedPersistentProperty<Neo4jPersistentProperty>true if this property is an association to another entity, false if notprotected Association<Neo4jPersistentProperty> createAssociation()
createAssociation in class AbstractPersistentProperty<Neo4jPersistentProperty>Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.