Package org.dspace.app.rest.model
Class SubmissionCCLicenseRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.BaseObjectRest<String>
-
- org.dspace.app.rest.model.SubmissionCCLicenseRest
-
- All Implemented Interfaces:
Serializable,RestModel
public class SubmissionCCLicenseRest extends BaseObjectRest<String>
This class is the REST representation of the CCLicense model object and acts as a data object for the SubmissionCCLicenseResource class. Refer toCCLicensefor explanation of the properties- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCATEGORYstatic StringNAMEstatic StringPLURAL-
Fields inherited from interface org.dspace.app.rest.model.RestModel
AUTHENTICATION, AUTHORIZATION, CONFIGURATION, CORE, DISCOVER, EPERSON, INTEGRATION, ROOT, STATISTICS, SUBMISSION, SYSTEM, VERSIONING, WORKFLOW
-
-
Constructor Summary
Constructors Constructor Description SubmissionCCLicenseRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()ClassgetController()List<SubmissionCCLicenseFieldRest>getFields()StringgetId()StringgetName()StringgetType()voidsetFields(List<SubmissionCCLicenseFieldRest> fields)voidsetId(String id)voidsetName(String name)-
Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, setErrors
-
Methods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dspace.app.rest.model.RestModel
getTypePlural
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
PLURAL
public static final String PLURAL
- See Also:
- Constant Field Values
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
- Overrides:
getIdin classBaseObjectRest<String>
-
setId
public void setId(String id)
- Overrides:
setIdin classBaseObjectRest<String>
-
getName
public String getName()
-
setName
public void setName(String name)
-
getFields
public List<SubmissionCCLicenseFieldRest> getFields()
-
setFields
public void setFields(List<SubmissionCCLicenseFieldRest> fields)
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getType
public String getType()
-
getController
public Class getController()
- Specified by:
getControllerin classRestAddressableModel
-
-