@Entity public class RolePermissionBo extends DataObjectBase implements RolePermissionContract
objectId, versionNumber
Constructor and Description |
---|
RolePermissionBo() |
Modifier and Type | Method and Description |
---|---|
static RolePermissionBo |
from(RolePermission im)
Converts a immutable object to its mutable counterpart
|
boolean |
getActive() |
String |
getId()
The unique identifier for an object.
|
PermissionBo |
getPermission() |
String |
getPermissionId()
The Permission ID referenced by the Role Permission.
|
String |
getRoleId()
The Role ID referenced by the Role Permission.
|
boolean |
isActive()
The active indicator for an object.
|
void |
setActive(boolean active) |
void |
setId(String id) |
void |
setPermission(PermissionBo permission) |
void |
setPermissionId(String permissionId) |
void |
setRoleId(String roleId) |
static RolePermission |
to(RolePermissionBo bo)
Converts a mutable bo to its immutable counterpart
|
generateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, prePersist, preUpdate, setExtensionObject, setObjectId, setVersionNumber, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersionNumber
getObjectId
public RolePermissionBo()
public static RolePermission to(RolePermissionBo bo)
bo
- the mutable business objectpublic static RolePermissionBo from(RolePermission im)
im
- immutable objectpublic String getId()
Identifiable
getId
in interface Identifiable
public String getRoleId()
RolePermissionContract
getRoleId
in interface RolePermissionContract
public String getPermissionId()
RolePermissionContract
getPermissionId
in interface RolePermissionContract
public void setPermissionId(String permissionId)
public boolean getActive()
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public void setActive(boolean active)
public PermissionBo getPermission()
public void setPermission(PermissionBo permission)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.