Package org.dspace.app.rest.model
Class RegistrationRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.RegistrationRest
-
- All Implemented Interfaces:
Serializable,RestModel
public class RegistrationRest extends RestAddressableModel
This class acts as the REST representation of the RegistrationData model class. This class acts as a data holder for the RegistrationResource Refer toRegistrationDatafor explanation about the properties- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCATEGORYstatic StringNAMEstatic StringNAME_PLURAL-
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 RegistrationRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()ClassgetController()StringgetEmail()Generic getter for the emailStringgetType()UUIDgetUser()Generic getter for the uservoidsetEmail(String email)Generic setter for the emailvoidsetUser(UUID user)Generic setter for the user-
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
-
NAME_PLURAL
public static final String NAME_PLURAL
- See Also:
- Constant Field Values
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEmail
public String getEmail()
Generic getter for the email- Returns:
- the email value of this RegisterRest
-
setEmail
public void setEmail(String email)
Generic setter for the email- Parameters:
email- The email to be set on this RegisterRest
-
getUser
public UUID getUser()
Generic getter for the user- Returns:
- the user value of this RegisterRest
-
setUser
public void setUser(UUID user)
Generic setter for the user- Parameters:
user- The user to be set on this RegisterRest
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getController
public Class getController()
- Specified by:
getControllerin classRestAddressableModel
-
getType
public String getType()
-
-