org.kuali.rice.kim.api.role
Class RolePermission

java.lang.Object
  extended by org.kuali.rice.core.api.mo.AbstractDataTransferObject
      extended by org.kuali.rice.kim.api.role.RolePermission
All Implemented Interfaces:
Serializable, Inactivatable, GloballyUnique, Identifiable, Versioned, ModelObjectBasic, ModelObjectComplete, RolePermissionContract

public class RolePermission
extends AbstractDataTransferObject
implements RolePermissionContract

See Also:
Serialized Form

Nested Class Summary
static class RolePermission.Builder
          This builder constructs a RolePermission enforcing the constraints of the RolePermissionContract.
 
Constructor Summary
RolePermission(RolePermission.Builder builder)
          A constructor using the Builder.
 
Method Summary
 String getId()
          The unique identifier for an object.
 String getObjectId()
          Return the globally unique object id of this object.
 String getPermissionId()
          The Permission ID referenced by the Role Permission.
 String getRoleId()
          The Role ID referenced by the Role Permission.
 Long getVersionNumber()
          Returns the version number for this object.
 boolean isActive()
          The active indicator for an object.
 
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RolePermission

public RolePermission(RolePermission.Builder builder)
A constructor using the Builder.

Parameters:
builder -
Method Detail

getId

public String getId()
Description copied from interface: Identifiable
The unique identifier for an object. This can be null.

Specified by:
getId in interface Identifiable
Returns:
the id

getPermissionId

public String getPermissionId()
Description copied from interface: RolePermissionContract
The Permission ID referenced by the Role Permission.

Specified by:
getPermissionId in interface RolePermissionContract
Returns:
permissionId

getRoleId

public String getRoleId()
Description copied from interface: RolePermissionContract
The Role ID referenced by the Role Permission.

Specified by:
getRoleId in interface RolePermissionContract
Returns:
roleId

isActive

public boolean isActive()
Description copied from interface: Inactivatable
The active indicator for an object.

Specified by:
isActive in interface Inactivatable
Returns:
true if active false if not.

getVersionNumber

public Long getVersionNumber()
Description copied from interface: Versioned
Returns the version number for this object. In general, this value should only be null if the object has not yet been stored to a persistent data store. This version number is generally used for the purposes of optimistic locking.

Specified by:
getVersionNumber in interface Versioned
Returns:
the version number, or null if one has not been assigned yet

getObjectId

public String getObjectId()
Description copied from interface: GloballyUnique
Return the globally unique object id of this object. In general, this value should only be null if the object has not yet been stored to a persistent data store.

Specified by:
getObjectId in interface GloballyUnique
Returns:
the objectId of this object, or null if it has not been set yet


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.