Package com.ads.api.beans.rsm
Class Role
java.lang.Object
com.ads.api.beans.common.Node
com.ads.api.beans.rsm.Role
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.ads.api.beans.common.Node
Node.Depth, Node.InputDataType, Node.NodeType, Node.ReturnType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns AuditHistory object of the Role.Returns the businessName of the Role.Returns the description of the Role.getId()Returns the id of the Role.getName()Returns the name of the Role.Returns the list of Permission objects of the Role.getType()Returns the type of the Role.voidsetAuditHistory(AuditHistory auditHistory) Method sets the AuditHistory object to the Role object as specified.voidsetBusinessName(String businessName) Method sets the businessName to the Role.voidsetDescription(String description) Method sets the description to the Role.voidMethod sets the id to the Role.voidMethod sets the name to the Role.voidsetPermissions(List<Permission> permissions) Method sets the list of permission objects to the Role object as specified.voidsetType(Role.RoleType type) Method sets the type to the Role.Methods inherited from class com.ads.api.beans.common.Node
addChildNode, getChildNodes, getEndPointType, getNodeId, getNodeType, getObjectTypeId, setChildNodes, setEndPointType, setNodeId, setNodeType, setObjectTypeId
-
Constructor Details
-
Role
public Role()
-
-
Method Details
-
getId
Returns the id of the Role.- Returns:
- id - String
-
setId
Method sets the id to the Role.- Parameters:
id- - String
-
getName
Returns the name of the Role.- Returns:
- name - String
-
setName
Method sets the name to the Role.- Parameters:
name- - String
-
getDescription
Returns the description of the Role.- Returns:
- description - String
-
setDescription
Method sets the description to the Role.- Parameters:
description- - String
-
getAuditHistory
Returns AuditHistory object of the Role.- Returns:
- auditHistory - AuditHistory Object
-
setAuditHistory
Method sets the AuditHistory object to the Role object as specified.- Parameters:
auditHistory- - AuditHistory Object
-
getPermissions
Returns the list of Permission objects of the Role.- Returns:
- permissions - List
-
setPermissions
Method sets the list of permission objects to the Role object as specified.- Parameters:
permissions- - List
-
getBusinessName
Returns the businessName of the Role.- Returns:
- businessName - String
-
setBusinessName
Method sets the businessName to the Role.- Parameters:
businessName- - String
-
getType
Returns the type of the Role.- Returns:
- type - RoleType
-
setType
Method sets the type to the Role.- Parameters:
type- - RoleType
-