Package org.dspace.app.rest.projection
Class DefaultProjection
- java.lang.Object
-
- org.dspace.app.rest.projection.AbstractProjection
-
- org.dspace.app.rest.projection.DefaultProjection
-
- All Implemented Interfaces:
Projection
public class DefaultProjection extends AbstractProjection
The default projection. This does no transformation, and allows linking but not embedding of all subresources.
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAME-
Fields inherited from interface org.dspace.app.rest.projection.Projection
DEFAULT
-
-
Constructor Summary
Constructors Constructor Description DefaultProjection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Gets the projection name.-
Methods inherited from class org.dspace.app.rest.projection.AbstractProjection
allowEmbedding, allowLinking, getPagingOptions, transformModel, transformResource, transformRest
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:ProjectionGets the projection name.- Returns:
- the name, which is a unique alphanumeric string.
-
-