@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited public @interface RepositoryRestResource
Repository
with this to customize export mapping and rels.Modifier and Type | Optional Element and Description |
---|---|
Description |
collectionResourceDescription
The description of the collection resource.
|
String |
collectionResourceRel
The rel value to use when generating links to the collection resource.
|
boolean |
exported
Flag indicating whether this resource is exported at all.
|
Description |
itemResourceDescription
The description of the item resource.
|
String |
itemResourceRel
The rel value to use when generating links to the item resource.
|
String |
path
The path segment under which this resource is to be exported.
|
public abstract boolean exported
public abstract String path
public abstract String collectionResourceRel
public abstract Description collectionResourceDescription
public abstract String itemResourceRel
public abstract Description itemResourceDescription
Copyright © 2011-2013-2014 Pivotal. All Rights Reserved.