@Entity public class PrivilegeEntity extends Object
Constructor and Description |
---|
PrivilegeEntity() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Integer |
getId()
Get the privilege id.
|
PermissionEntity |
getPermission()
Get the associated permission entity.
|
PrincipalEntity |
getPrincipal()
Get the associated principal entity.
|
ResourceEntity |
getResource()
Get the associated resource entity.
|
int |
hashCode() |
void |
setId(Integer id)
Set the privilege id.
|
void |
setPermission(PermissionEntity permission)
Set the permission entity.
|
void |
setPrincipal(PrincipalEntity principal)
Set the principal entity.
|
void |
setResource(ResourceEntity resource)
Set the resource entity.
|
String |
toString() |
public Integer getId()
public void setId(Integer id)
id
- the type id.public PermissionEntity getPermission()
public void setPermission(PermissionEntity permission)
permission
- the permission entitypublic ResourceEntity getResource()
public void setResource(ResourceEntity resource)
resource
- the resource entitypublic PrincipalEntity getPrincipal()
public void setPrincipal(PrincipalEntity principal)
principal
- the principal entityCopyright © 2022 Apache Software Foundation. All rights reserved.