Spring Data Neo4j

org.springframework.data.neo4j.annotation
Annotation Type GraphProperty


@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface GraphProperty

Annotation to explcitely declare a property handled by datastore-graph. Automatically indexes the property. Only required in partial mode. Otherwise properties are handled by default if they are primitive or convertible to a String using the built in conversion services.

Since:
27.08.2010
Author:
Michael Hunger

Optional Element Summary
 String defaultValue
           
 Class<?> propertyType
           
 

defaultValue

public abstract String defaultValue
Default:
"\u0000"

propertyType

public abstract Class<?> propertyType
Default:
java.lang.String.class

Spring Data Neo4j

Copyright © 2012 SpringSource. All Rights Reserved.