|
Spring Data Neo4j | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Neo4jPersistentProperty
Interface for Neo4J specific PersistentPropertys. Declares additional metadata to lookup relationship
information.
| Method Summary | ||
|---|---|---|
|
getAnnotation(Class<T> annotationType)
|
|
Collection<? extends Annotation> |
getAnnotations()
|
|
|
getDefaultValue(ConversionService conversionService,
Class<T> targetType)
|
|
IndexInfo |
getIndexInfo()
|
|
String |
getIndexKey()
|
|
MappingPolicy |
getMappingPolicy()
|
|
String |
getNeo4jPropertyName()
|
|
Neo4jPersistentEntity<?> |
getOwner()
|
|
RelationshipInfo |
getRelationshipInfo()
Returns the RelationshipInfo for the given property if it is a relationship or null otherwise. |
|
Object |
getValue(Object entity,
MappingPolicy mappingPolicy)
|
|
Object |
getValueFromEntity(Object entity,
MappingPolicy mappingPolicy)
|
|
|
isAnnotationPresent(Class<T> annotationType)
|
|
boolean |
isIndexed()
|
|
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 |
isReallyTransient()
|
|
boolean |
isRelationship()
Returns whether the property represents a relationship. |
|
boolean |
isSerializablePropertyField(ConversionService conversionService)
|
|
boolean |
isSyntheticField()
|
|
void |
setValue(Object entity,
Object newValue)
|
|
| Methods inherited from interface org.springframework.data.mapping.PersistentProperty |
|---|
getAssociation, getComponentType, getField, getMapValueType, getName, getPersistentEntityType, getPropertyDescriptor, getRawType, getSpelExpression, getType, getTypeInformation, isArray, isAssociation, isCollectionLike, isIdProperty, isMap, isTransient, shallBePersisted |
| Method Detail |
|---|
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).
true if the given object is a natively supported neo4j property type.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. Supported type are listed here:
PropertyContainer#setProperty(String, Object).
value - the object to check
true if the given object is a natively supported neo4j property type. false is returned, if value is an array.PropertyContainer#setProperty(String, Object)boolean isSyntheticField()
Collection<? extends Annotation> getAnnotations()
<T extends Annotation> T getAnnotation(Class<T> annotationType)
<T extends Annotation> boolean isAnnotationPresent(Class<T> annotationType)
void setValue(Object entity,
Object newValue)
Object getValue(Object entity,
MappingPolicy mappingPolicy)
Neo4jPersistentEntity<?> getOwner()
getOwner in interface org.springframework.data.mapping.PersistentProperty<Neo4jPersistentProperty>String getIndexKey()
MappingPolicy getMappingPolicy()
boolean isReallyTransient()
Object getValueFromEntity(Object entity,
MappingPolicy mappingPolicy)
<T> T getDefaultValue(ConversionService conversionService,
Class<T> targetType)
|
Spring Data Neo4j | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||