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, CORE, DISCOVER, EPERSON, INTEGRATION, 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, setProjectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dspace.app.rest.model.RestModel
getTypePlural
-
Field Details
-
NAME
- See Also:
-
NAME_PLURAL
- 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
-
getLabel
-
setLabel
-