moved Type to separated class
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
package org.springframework.persistence.graph;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
@@ -14,6 +13,5 @@ import java.lang.annotation.Target;
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.TYPE)
|
||||
public @interface GraphEntity {
|
||||
public enum Type { NODE, RELATIONSHIP };
|
||||
Type value() default Type.NODE;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
package org.springframework.persistence.graph;
|
||||
|
||||
public enum Type { NODE, RELATIONSHIP }
|
||||
Reference in New Issue
Block a user