Package org.dspace.app.rest.model
Class EntityTypeRest
- All Implemented Interfaces:
Serializable,RestModel
@LinksRest(links=@LinkRest(name="relationshiptypes",method="getEntityTypeRelationship"))
public class EntityTypeRest
extends BaseObjectRest<Integer>
This class is the REST representation of the EntityType model object and acts as a data object
for the EntityTypeResource class.
Refer to
EntityType for explanation of the properties- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.dspace.app.rest.model.BaseObjectRest
idFields inherited from interface org.dspace.app.rest.model.RestModel
AUTHENTICATION, AUTHORIZATION, CONFIGURATION, CONTENT_REPORT, CORE, DISCOVER, DUPLICATES, EPERSON, INTEGRATION, LDN, PID, ROOT, STATISTICS, SUBMISSION, SYSTEM, TOOLS, VERSIONING, WORKFLOW -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, getId, setErrors, setIdMethods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Field Details
-
NAME
- See Also:
-
PLURAL_NAME
- See Also:
-
CATEGORY
- See Also:
-
RELATION_SHIP_TYPES
- See Also:
-
-
Constructor Details
-
EntityTypeRest
public EntityTypeRest()
-
-
Method Details
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getController
- Specified by:
getControllerin classRestAddressableModel
-
getType
-
getTypePlural
-
getLabel
-
setLabel
-