public class Policy extends Object implements org.springframework.security.core.GrantedAuthority, Comparable<Policy>
| Constructor and Description |
|---|
Policy()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Policy policy) |
boolean |
equals(Object obj) |
String |
getAuthority() |
Date |
getCreatedDateTime() |
String |
getDescription() |
Long |
getId() |
String |
getName() |
PolicyLink |
getPolicyLink() |
Set<Role> |
getRoles() |
Date |
getUpdatedDateTime() |
int |
hashCode() |
void |
setCreatedDateTime(Date createdDateTime) |
void |
setDescription(String description) |
void |
setId(Long id) |
void |
setName(String name) |
void |
setPolicyLink(PolicyLink policyLink) |
void |
setRoles(Set<Role> roles) |
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 Date getCreatedDateTime()
public void setCreatedDateTime(Date createdDateTime)
createdDateTime - the createdDateTime to setpublic Date getUpdatedDateTime()
public void setUpdatedDateTime(Date updatedDateTime)
updatedDateTime - the updatedDateTime to setpublic String getDescription()
public void setDescription(String description)
description - the description to setpublic String getAuthority()
getAuthority in interface org.springframework.security.core.GrantedAuthoritypublic PolicyLink getPolicyLink()
public void setPolicyLink(PolicyLink policyLink)
policyLink - the policyLink to setpublic int compareTo(Policy policy)
compareTo in interface Comparable<Policy>Copyright © 2007-2016 Ikasan. All Rights Reserved.