Package org.dspace.app.rest.model
Class SubmissionSectionRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.BaseObjectRest<String>
-
- org.dspace.app.rest.model.SubmissionSectionRest
-
- All Implemented Interfaces:
Serializable,RestModel
public class SubmissionSectionRest extends BaseObjectRest<String>
The SubmissionPanel REST Resource. It is not addressable directly, only used as inline object in the SubmissionDefinition resource- Author:
- Andrea Bollini (andrea.bollini at 4science.it), Luigi Andrea Pascarelli (luigiandrea.pascarelli at 4science.it)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTRIBUTE_NAMEstatic StringNAME-
Fields inherited from class org.dspace.app.rest.model.BaseObjectRest
id
-
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 SubmissionSectionRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()ClassgetController()StringgetHeader()ScopeEnumgetScope()StringgetSectionType()StringgetType()SubmissionVisibilityRestgetVisibility()booleanisMandatory()voidsetHeader(String header)voidsetMandatory(boolean mandatory)voidsetScope(ScopeEnum scope)voidsetSectionType(String panelType)voidsetVisibility(SubmissionVisibilityRest visibility)-
Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, getId, setErrors, setId
-
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
-
ATTRIBUTE_NAME
public static final String ATTRIBUTE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getHeader
public String getHeader()
-
setHeader
public void setHeader(String header)
-
isMandatory
public boolean isMandatory()
-
setMandatory
public void setMandatory(boolean mandatory)
-
getType
public String getType()
-
getScope
public ScopeEnum getScope()
-
setScope
public void setScope(ScopeEnum scope)
-
getVisibility
public SubmissionVisibilityRest getVisibility()
-
setVisibility
public void setVisibility(SubmissionVisibilityRest visibility)
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getController
public Class getController()
- Specified by:
getControllerin classRestAddressableModel
-
getSectionType
public String getSectionType()
-
setSectionType
public void setSectionType(String panelType)
-
-