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

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

public final class RoleResponsibility
extends AbstractDataTransferObject
implements RoleResponsibilityContract

An lightweight association of a Responsibility and a Role represented by references to the identifiers of a Role and a Responsibility that are related to each other.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Nested Class Summary
static class RoleResponsibility.Builder
           
static class RoleResponsibility.Cache
           
 
Method Summary
 String getResponsibilityId()
          Returns the String identifier for the Responsibility represented by this Role/Responsibility association.
 String getRoleId()
          Returns the String identifier for the Role represented by this Role/Responsibility association.
 String getRoleResponsibilityId()
          Provides the String identifier for a given RoleResponsibility
 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, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getResponsibilityId

public String getResponsibilityId()
Description copied from interface: RoleResponsibilityContract
Returns the String identifier for the Responsibility represented by this Role/Responsibility association.

Specified by:
getResponsibilityId in interface RoleResponsibilityContract
Returns:
Responsibility Id

getRoleId

public String getRoleId()
Description copied from interface: RoleResponsibilityContract
Returns the String identifier for the Role represented by this Role/Responsibility association.

Specified by:
getRoleId in interface RoleResponsibilityContract
Returns:
Role Id

getRoleResponsibilityId

public String getRoleResponsibilityId()
Description copied from interface: RoleResponsibilityContract
Provides the String identifier for a given RoleResponsibility

Specified by:
getRoleResponsibilityId in interface RoleResponsibilityContract
Returns:
id of the Role/Responsibility contract

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


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.