Class RoleImpl
- java.lang.Object
-
- org.bonitasoft.engine.identity.impl.RoleImpl
-
- All Implemented Interfaces:
Serializable,BonitaObject,Role
public class RoleImpl extends Object implements Role
- Author:
- Yanyan Liu, Bole Zhang, Matthieu Chaffotte
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)longgetCreatedBy()DategetCreationDate()StringgetDescription()StringgetDisplayName()LonggetIconId()longgetId()DategetLastUpdate()StringgetName()inthashCode()voidsetCreatedBy(long createdBy)voidsetCreationDate(Date creationDate)voidsetDescription(String description)voidsetDisplayName(String displayName)voidsetIconId(Long iconId)voidsetLastUpdate(Date lastUpdate)StringtoString()
-
-
-
Constructor Detail
-
RoleImpl
public RoleImpl(long id, String name)
-
-
Method Detail
-
setDisplayName
public void setDisplayName(String displayName)
-
setDescription
public void setDescription(String description)
-
setCreatedBy
public void setCreatedBy(long createdBy)
-
setCreationDate
public void setCreationDate(Date creationDate)
-
setLastUpdate
public void setLastUpdate(Date lastUpdate)
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceRole- Returns:
- the role's name to display
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceRole- Returns:
- the role's description
-
getCreatedBy
public long getCreatedBy()
- Specified by:
getCreatedByin interfaceRole- Returns:
- the id of the user that created the role
-
getCreationDate
public Date getCreationDate()
- Specified by:
getCreationDatein interfaceRole- Returns:
- the role's creation's date
-
getLastUpdate
public Date getLastUpdate()
- Specified by:
getLastUpdatein interfaceRole- Returns:
- the role's last update date
-
getIconId
public Long getIconId()
-
setIconId
public void setIconId(Long iconId)
-
-