public class Role extends Object implements Comparable<Role>
| Constructor and Description |
|---|
Role()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Role role) |
boolean |
equals(Object obj) |
Date |
getCreatedDateTime() |
String |
getDescription() |
Long |
getId() |
String |
getName() |
Set<Policy> |
getPolicies() |
Date |
getUpdatedDateTime() |
int |
hashCode() |
void |
setCreatedDateTime(Date createdDateTime) |
void |
setDescription(String description) |
void |
setId(Long id) |
void |
setName(String name) |
void |
setPolicies(Set<Policy> policies) |
void |
setUpdatedDateTime(Date updatedDateTime) |
String |
toString() |
public Long getId()
public void setId(Long id)
id - the id to setpublic String getName()
public void setName(String name)
name - the name to setpublic String getDescription()
public void setDescription(String description)
description - the description to setpublic Date getCreatedDateTime()
public void setCreatedDateTime(Date createdDateTime)
createdDateTime - the createdDateTime to setpublic Date getUpdatedDateTime()
public void setUpdatedDateTime(Date updatedDateTime)
updatedDateTime - the updatedDateTime to setpublic int compareTo(Role role)
compareTo in interface Comparable<Role>Copyright © 2007-2016 Ikasan. All Rights Reserved.