Package org.dspace.app.rest.model
Class ParameterRest
java.lang.Object
org.dspace.app.rest.model.ParameterRest
This class serves as a REST representation for a script parameter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Generic getter for the nameLonggetType()booleanGeneric getter for the mandatoryvoidsetDescription(String description) voidsetMandatory(boolean mandatory) Generic setter for the mandatoryvoidvoidsetNameLong(String nameLong) Generic setter for the nameLongvoid
-
Constructor Details
-
ParameterRest
public ParameterRest()
-
-
Method Details
-
getName
-
setName
-
getDescription
-
setDescription
-
getType
-
setType
-
getNameLong
Generic getter for the nameLong- Returns:
- the nameLong value of this ParameterRest
-
setNameLong
Generic setter for the nameLong- Parameters:
nameLong- The nameLong to be set on this ParameterRest
-
isMandatory
public boolean isMandatory()Generic getter for the mandatory- Returns:
- the mandatory value of this ParameterRest
-
setMandatory
public void setMandatory(boolean mandatory) Generic setter for the mandatory- Parameters:
mandatory- The mandatory to be set on this ParameterRest
-