Package org.dspace.app.rest.model
Class ProcessFileTypesRest
- All Implemented Interfaces:
Serializable,RestModel
This class provides a way to list the filetypes present in a given Process by showing them as a list of Strings
It'll be used by
ProcessFileTypesLinkRepository- See Also:
-
Field Summary
FieldsFields 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
Modifier and TypeMethodDescriptionvoidAdds a value to the list of FileType StringsgetType()Generic getter for the valuesvoidGeneric setter for the valuesMethods 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:
-
-
Constructor Details
-
ProcessFileTypesRest
public ProcessFileTypesRest()
-
-
Method Details
-
getValues
Generic getter for the values- Returns:
- the values value of this ProcessFileTypesRest
-
setValues
Generic setter for the values- Parameters:
values- The values to be set on this ProcessFileTypesRest
-
addValue
Adds a value to the list of FileType Strings- Parameters:
value- The value to be added
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getController
- Specified by:
getControllerin classRestAddressableModel
-
getType
-
getTypePlural
-