Browse Source

moved indexed

pull/2/head
Michael Hunger 15 years ago
parent
commit
ff2f593dd6
  1. 19
      spring-data-commons-core/src/main/java/org/springframework/data/annotation/Indexed.java

19
spring-data-commons-core/src/main/java/org/springframework/data/annotation/Indexed.java

@ -1,19 +0,0 @@ @@ -1,19 +0,0 @@
package org.springframework.data.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotated fields and entities will be indexed and available for retrieval using an indexing API.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target( value = {ElementType.FIELD,ElementType.TYPE})
public @interface Indexed
{
/**
* Name of the index to use.
*/
String indexName() default "";
}
Loading…
Cancel
Save