@Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) public @interface GraphTraversal
@GraphTraversal(traversal=FriendTraversalBuilder.class, elementClass=Person.class) Iterable<Person> friends;
Modifier and Type | Optional Element and Description |
---|---|
Class<?> |
elementClass |
String[] |
params |
Class<? extends FieldTraversalDescriptionBuilder> |
traversal |
public abstract Class<? extends FieldTraversalDescriptionBuilder> traversal
TraversalDescription
to be appliedpublic abstract Class<?> elementClass
public abstract String[] params
Copyright © 2011-2013-2014 Pivotal. All Rights Reserved.