public interface Neo4jPersistentProperty extends PersistentProperty<Neo4jPersistentProperty>
PersistentProperty
s. Declares additional metadata to lookup relationship
information.isIdProperty, isVersionProperty
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
getAnnotation(Class<? extends T> annotationType) |
Collection<? extends Annotation> |
getAnnotations() |
<T> T |
getDefaultValue(ConversionService conversionService,
Class<T> targetType) |
IndexInfo |
getIndexInfo() |
String |
getIndexKey() |
MappingPolicy |
getMappingPolicy() |
String |
getNeo4jPropertyName() |
Neo4jPersistentEntity<?> |
getOwner() |
Class<?> |
getPropertyType() |
String |
getQuery() |
RelationshipInfo |
getRelationshipInfo()
Returns the
RelationshipInfo for the given property if it is a relationship or null otherwise. |
Class<?> |
getTargetType() |
Object |
getValue(Object entity,
MappingPolicy mappingPolicy) |
Object |
getValueFromEntity(Object entity,
MappingPolicy mappingPolicy) |
boolean |
hasQuery() |
boolean |
isEndNode() |
boolean |
isIndexed() |
boolean |
isIndexedNumerically() |
boolean |
isNeo4jPropertyType()
Returns
true if the type of this property is a natively supported neo4j property type. |
boolean |
isNeo4jPropertyValue(Object value)
Returns
true if the given object value is a natively supported neo4j property type, but not an array. |
boolean |
isRelationship()
Returns whether the property represents a relationship.
|
boolean |
isRelationshipType() |
boolean |
isSerializablePropertyField(ConversionService conversionService) |
boolean |
isStartNode() |
boolean |
isSyntheticField() |
boolean |
isTargetTypeEnforced() |
boolean |
isUnique() |
MappingPolicy |
obtainMappingPolicy(MappingPolicy currentMappingPolicy) |
void |
setValue(Object entity,
Object newValue) |
findAnnotation, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getPersistentEntityType, getRawType, getSetter, getSpelExpression, getType, getTypeInformation, isAnnotationPresent, isArray, isAssociation, isCollectionLike, isEntity, isIdProperty, isMap, isTransient, isVersionProperty, shallBePersisted
boolean isRelationship()
getRelationshipInfo()
to return a non-null value.RelationshipInfo getRelationshipInfo()
RelationshipInfo
for the given property if it is a relationship or null otherwise.isRelationship()
boolean isIndexed()
IndexInfo getIndexInfo()
String getNeo4jPropertyName()
boolean isSerializablePropertyField(ConversionService conversionService)
boolean isNeo4jPropertyType()
true
if the type of this property is a natively supported neo4j property type. Supported type are listed here:
PropertyContainer.setProperty(String, Object)
.boolean isNeo4jPropertyValue(Object value)
true
if the given object value
is a natively supported neo4j property type, but not an array.boolean isSyntheticField()
Collection<? extends Annotation> getAnnotations()
<T extends Annotation> T getAnnotation(Class<? extends T> annotationType)
boolean isStartNode()
boolean isEndNode()
boolean isRelationshipType()
Object getValue(Object entity, MappingPolicy mappingPolicy)
Neo4jPersistentEntity<?> getOwner()
getOwner
in interface PersistentProperty<Neo4jPersistentProperty>
String getIndexKey()
MappingPolicy getMappingPolicy()
Object getValueFromEntity(Object entity, MappingPolicy mappingPolicy)
<T> T getDefaultValue(ConversionService conversionService, Class<T> targetType)
Class<?> getPropertyType()
boolean isUnique()
MappingPolicy obtainMappingPolicy(MappingPolicy currentMappingPolicy)
boolean hasQuery()
String getQuery()
Class<?> getTargetType()
boolean isTargetTypeEnforced()
boolean isIndexedNumerically()
Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.