public class RoleResponse extends BaseResponse
Constructor and Description |
---|
RoleResponse()
Default constructor for RoleResponse.
|
RoleResponse(RoleDTO role)
Constructor for RoleResponse.
|
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates the response data.
|
public RoleResponse(RoleDTO role)
role
- The role data transfer object.public RoleResponse()
public void validate() throws java.lang.IllegalArgumentException
validate
in interface RESTMessage
validate
in class BaseResponse
java.lang.IllegalArgumentException
- if the name or audit is not set.