@Target(value={TYPE,ANNOTATION_TYPE}) @Retention(value=RUNTIME) public @interface Relation
Resource
s
and Resources
.Modifier and Type | Fields and Description |
---|---|
static String |
NO_RELATION |
Modifier and Type | Optional Element and Description |
---|---|
String |
collectionRelation
Defines the relation to be used when referring to a collection of resources.
|
String |
value
Defines the relation to be used when referring to a single resource.
|
public static final String NO_RELATION
public abstract String value
public abstract String collectionRelation
Copyright © 2012-2015–2015 Pivotal, Inc.. All rights reserved.