*
- * @return true if the entity is only partially managed by the {@link org.springframework.data.neo4j.support.node.Neo4jNodeBacking} aspect.
+ * @return true if the entity is only partially managed by the Neo4jNodeBacking aspect.
*/
boolean partial() default false;
diff --git a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/annotation/RelatedToVia.java b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/annotation/RelatedToVia.java
index d898d4381..8d193dfe6 100644
--- a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/annotation/RelatedToVia.java
+++ b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/annotation/RelatedToVia.java
@@ -28,7 +28,7 @@ import org.springframework.data.annotation.Reference;
/**
* Annotation for {@link org.springframework.data.neo4j.annotation.NodeEntity} fields that relate to other entities via
* relationships. The fields represent read only iterators that provide the relationship-entities
- * {@link org.springframework.persistence.RelatedEntity} of the relationships. The iterator reflects the underlying relationships.
+ * {@link RelationshipEntity} of the relationships. The iterator reflects the underlying relationships.
*
*
* @RelatedToVia([type="roles"], elementClass=Role.class)
diff --git a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/annotation/RelationshipEntity.java b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/annotation/RelationshipEntity.java
index 8869c7e19..7ff553f05 100644
--- a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/annotation/RelationshipEntity.java
+++ b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/annotation/RelationshipEntity.java
@@ -22,8 +22,7 @@ import java.lang.annotation.*;
/**
* Annotation to declare a Pojo-Entity as graph backed relationship entity.
- * It is used by the {@link org.springframework.data.neo4j.support.relationship.Neo4jRelationshipBacking} aspect to add
- * field advices as well as the {@link org.springframework.data.neo4j.core.RelationshipBacked} interface.
+ * It is used by the Neo4jRelationshipBacking aspect to add field advices as well as the RelationshipBacked interface.
*
* Relationship entities cannot be instantiated directly. The will be provided by relationship fields and the
* methods relatedTo and getRelationshipTo introduced to the node entities.
diff --git a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/config/EnableNeo4jRepositories.java b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/config/EnableNeo4jRepositories.java
index 2ab852792..14b5891e8 100644
--- a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/config/EnableNeo4jRepositories.java
+++ b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/config/EnableNeo4jRepositories.java
@@ -75,40 +75,30 @@ public @interface EnableNeo4jRepositories {
* Returns the postfix to be used when looking up custom repository implementations. Defaults to {@literal Impl}. So
* for a repository named {@code PersonRepository} the corresponding implementation class will be looked up scanning
* for {@code PersonRepositoryImpl}.
- *
- * @return
*/
String repositoryImplementationPostfix() default "Impl";
/**
* Configures the location of where to find the Spring Data named queries properties file. Will default to
* {@code META-INFO/neo4j-named-queries.properties}.
- *
- * @return
*/
String namedQueriesLocation() default "";
/**
* Returns the key of the {@link QueryLookupStrategy} to be used for lookup queries for query methods. Defaults to
* {@link Key#CREATE_IF_NOT_FOUND}.
- *
- * @return
*/
Key queryLookupStrategy() default Key.CREATE_IF_NOT_FOUND;
/**
* Returns the {@link FactoryBean} class to be used for each repository instance. Defaults to
* {@link GraphRepositoryFactoryBean}.
- *
- * @return
*/
Class> repositoryFactoryBeanClass() default GraphRepositoryFactoryBean.class;
/**
* Returns the name of the {@link Neo4jTemplate} bean to be used with the repository factory. Defaults to
- * {@value Neo4jRepositoryConfigurationExtension#DEFAULT_NEO4J_TEMPLATE_REF}.
- *
- * @return
+ * {@link Neo4jRepositoryConfigurationExtension#DEFAULT_NEO4J_TEMPLATE_REF}.
*/
String neo4jTemplateRef() default Neo4jRepositoryConfigurationExtension.DEFAULT_NEO4J_TEMPLATE_REF;
}
diff --git a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/core/EntityState.java b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/core/EntityState.java
index 0d70a67cc..f9b4f1650 100644
--- a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/core/EntityState.java
+++ b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/core/EntityState.java
@@ -35,35 +35,29 @@ public interface EntityState {
void setPersistentState(STATE state);
/**
- *
- * @param property@return a default value for the given field by its {@link FieldAccessor} or {@code null} if none is provided.
+ * @return a default value for the given field by its {@link FieldAccessor} or {@code null} if none is provided.
*/
Object getDefaultValue(Neo4jPersistentProperty property);
/**
*
- * @param field
- * @param mappingPolicy
* @return value of the field either from the state and/or the entity
*/
Object getValue(Field field, MappingPolicy mappingPolicy);
+
/**
* @return value of the property either from the state and/or the entity
*/
Object getValue(Neo4jPersistentProperty property, MappingPolicy mappingPolicy);
/**
- *
- * @param property@return true if the field can be written
+ * @return true if the field can be written
*/
boolean isWritable(Neo4jPersistentProperty property);
/**
*
*
- * @param field
- * @param newVal
- * @param mappingPolicy
* @return sets the value in the entity and/or the state
*/
Object setValue(Field field, Object newVal, MappingPolicy mappingPolicy);
diff --git a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/core/GraphDatabase.java b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/core/GraphDatabase.java
index 185d8261a..abc82f603 100644
--- a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/core/GraphDatabase.java
+++ b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/core/GraphDatabase.java
@@ -92,7 +92,6 @@ public interface GraphDatabase {
/**
* creates a index
* @param type type of index requested - either Node.class or Relationship.class
- * @param indexName, not null
* @param indexType SIMPLE, FULLTEXT or POINT declaring the requested index-type
* @return node index {@link Index}
*/
diff --git a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/core/TypeRepresentationStrategy.java b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/core/TypeRepresentationStrategy.java
index bd26a1923..4f64a77a5 100644
--- a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/core/TypeRepresentationStrategy.java
+++ b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/core/TypeRepresentationStrategy.java
@@ -45,19 +45,20 @@ public interface TypeRepresentationStrategy {
/**
*
*
- * @param type@return lazy Iterable over all instances of the given type
+ * @param type
+ * @return lazy Iterable over all instances of the given type
*/
ClosableIterable findAll(final StoredEntityType type);
/**
*
- * @param type@return number of instances of this class contained in the graph
+ * @param type
+ * @return number of instances of this class contained in the graph
*/
long count(final StoredEntityType type);
/**
*
- * @param state
* @return java type that of the node entity of this node
*/
Object readAliasFrom(S state);
diff --git a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/fieldaccess/DynamicProperties.java b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/fieldaccess/DynamicProperties.java
index 19e36337f..de15a59f2 100644
--- a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/fieldaccess/DynamicProperties.java
+++ b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/fieldaccess/DynamicProperties.java
@@ -27,7 +27,7 @@ import org.springframework.data.neo4j.fieldaccess.DynamicPropertiesFieldAccessor
* This dynamic property only is available inside a transaction, i.e. when the entity has been saved.
*
* The key/value pairs of the {@link DynamicProperties} property are stored on the node with the keys
- * prefixed with the property name that is returned by {@link DelegatingFieldAccessorFactory#getNeo4jPropertyName(Field)}.
+ * prefixed with the property name that is returned by {@link org.springframework.data.neo4j.mapping.Neo4jPersistentProperty#getNeo4jPropertyName()}.
*
* @NodeEntity
* class Person {
@@ -87,7 +87,6 @@ public interface DynamicProperties {
/**
* Removes the property with the given key
*
- * @param key
* @return the property that has been removed or null if no such property exists and {@link #hasProperty} returns
* false
*/
diff --git a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/fieldaccess/FieldAccessorListenerFactory.java b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/fieldaccess/FieldAccessorListenerFactory.java
index a683ff448..4bf5584b2 100644
--- a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/fieldaccess/FieldAccessorListenerFactory.java
+++ b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/fieldaccess/FieldAccessorListenerFactory.java
@@ -28,13 +28,15 @@ import org.springframework.data.neo4j.mapping.Neo4jPersistentProperty;
public interface FieldAccessorListenerFactory {
/**
*
- * @param property@return true if this factory is able to create a listener for the field
+ * @param property
+ * @return true if this factory is able to create a listener for the field
*/
boolean accept(Neo4jPersistentProperty property);
/**
*
- * @param property@return newly created field listener
+ * @param property
+ * @return newly created field listener
*/
FieldAccessListener forField(Neo4jPersistentProperty property);
}
diff --git a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/mapping/Neo4jPersistentProperty.java b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/mapping/Neo4jPersistentProperty.java
index b354293f9..6631664fb 100644
--- a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/mapping/Neo4jPersistentProperty.java
+++ b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/mapping/Neo4jPersistentProperty.java
@@ -33,8 +33,6 @@ public interface Neo4jPersistentProperty extends PersistentPropertyWell Known Text Spatial Format
+ *
* Right now requires a field: @Indexed(type = POINT, indexName = "...") String wkt;
* inside the entity.
+ *
+ * @see Well Known Text Spatial Format
*/
public interface SpatialRepository {
EndResult findWithinBoundingBox(String indexName, double lowerLeftLat,
diff --git a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/DoReturn.java b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/DoReturn.java
index 3cdc8e210..5d4655388 100644
--- a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/DoReturn.java
+++ b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/DoReturn.java
@@ -29,12 +29,6 @@ public class DoReturn {
this.value = value;
}
- /**
- * static factory method
- * @param value
- * @param
- * @return
- */
public static DoReturn doReturn(T value) {
return new DoReturn(value);
}
diff --git a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/Neo4jTemplate.java b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/Neo4jTemplate.java
index 1d7745f8f..caab9ff08 100644
--- a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/Neo4jTemplate.java
+++ b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/Neo4jTemplate.java
@@ -198,9 +198,6 @@ public class Neo4jTemplate implements Neo4jOperations {
/**
* just sets the persistent state (i.e. Node or id) to the entity, doesn't copy any values/properties.
- * @param entity
- * @param
- * @return
*/
@Override
public S getPersistentState(Object entity) {
diff --git a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/index/IndexProvider.java b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/index/IndexProvider.java
index f69623a54..6b4930a05 100644
--- a/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/index/IndexProvider.java
+++ b/spring-data-neo4j/src/main/java/org/springframework/data/neo4j/support/index/IndexProvider.java
@@ -44,18 +44,12 @@ public interface IndexProvider {
/**
* adjust your indexName for the "__types__" indices
*
- *
- * @param type
* @return prefixed indexName for Type
*/
String createIndexValueForType(Object type);
/**
* possibility to do something with the high level index name
- *
- * @param indexName
- * @param type
- * @return
*/
String customizeIndexName(String indexName, Class> type);