public class Neo4jPersistentEntity<T> extends BasicPersistentEntity<T,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 |
hasVersion |
hasIdProperty
Constructor and Description |
---|
Neo4jPersistentEntity(TypeInformation<T> information)
Constructs a new
Neo4jPersistentEntity based on the given type information. |
Modifier and Type | Method and Description |
---|---|
Optional<Neo4jPersistentProperty> |
getVersionProperty() |
boolean |
hasVersionProperty() |
boolean |
isVersionProperty(PersistentProperty<?> property) |
addAssociation, addPersistentProperty, doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getAssociations, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getType, getTypeAlias, getTypeInformation, hasIdProperty, isConstructorArgument, isIdProperty, returnPropertyIfBetterIdPropertyCandidateOrNull, setPersistentPropertyAccessorFactory, verify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequiredIdProperty, getRequiredPersistentProperty
public boolean hasVersionProperty
hasVersionProperty
in interface PersistentEntity<T,Neo4jPersistentProperty>
hasVersionProperty
in class BasicPersistentEntity<T,Neo4jPersistentProperty>
public Neo4jPersistentEntity(TypeInformation<T> information)
Neo4jPersistentEntity
based on the given type information.information
- The TypeInformation
upon which to base this persistent entity.public boolean hasVersionProperty()
hasVersionProperty
in interface PersistentEntity<T,Neo4jPersistentProperty>
hasVersionProperty
in class BasicPersistentEntity<T,Neo4jPersistentProperty>
public Optional<Neo4jPersistentProperty> getVersionProperty()
getVersionProperty
in interface PersistentEntity<T,Neo4jPersistentProperty>
getVersionProperty
in class BasicPersistentEntity<T,Neo4jPersistentProperty>
public boolean isVersionProperty(PersistentProperty<?> property)
isVersionProperty
in interface PersistentEntity<T,Neo4jPersistentProperty>
isVersionProperty
in class BasicPersistentEntity<T,Neo4jPersistentProperty>
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.