Package org.dspace.app.rest.model
Class ParameterRest
- java.lang.Object
-
- org.dspace.app.rest.model.ParameterRest
-
public class ParameterRest extends Object
This class serves as a REST representation for a script parameter
-
-
Constructor Summary
Constructors Constructor Description ParameterRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetName()StringgetNameLong()Generic getter for the nameLongStringgetType()booleanisMandatory()Generic getter for the mandatoryvoidsetDescription(String description)voidsetMandatory(boolean mandatory)Generic setter for the mandatoryvoidsetName(String name)voidsetNameLong(String nameLong)Generic setter for the nameLongvoidsetType(String type)
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getNameLong
public String getNameLong()
Generic getter for the nameLong- Returns:
- the nameLong value of this ParameterRest
-
setNameLong
public void setNameLong(String nameLong)
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
-
-