org.kuali.rice.kim.impl.responsibility
Class ResponsibilityBo

java.lang.Object
  extended by org.kuali.rice.krad.bo.DataObjectBase
      extended by org.kuali.rice.kim.impl.responsibility.ResponsibilityBo
All Implemented Interfaces:
Serializable, Inactivatable, GloballyUnique, Identifiable, Versioned, ResponsibilityContract

@Entity
public class ResponsibilityBo
extends DataObjectBase
implements ResponsibilityContract

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.krad.bo.DataObjectBase
objectId, versionNumber
 
Constructor Summary
ResponsibilityBo()
           
 
Method Summary
static ResponsibilityBo from(Responsibility im)
          Converts a immutable object to its mutable counterpart
 boolean getActive()
           
 List<ResponsibilityAttributeBo> getAttributeDetails()
           
 Map<String,String> getAttributes()
          Attributes for a Responsibility.
 String getDescription()
          The description of the Responsibility.
 String getDetailObjectsToDisplay()
           
 String getDetailObjectsValues()
           
 String getId()
          The unique identifier for an object.
 String getName()
          The name of the Responsibility.
 String getNamespaceCode()
          The namespace code that this Responsibility belongs too.
 List<RoleResponsibilityBo> getRoleResponsibilities()
           
 ResponsibilityTemplateBo getTemplate()
          The Template referenced by the Responsibility.
 String getTemplateId()
           
 boolean isActive()
          The active indicator for an object.
 void setActive(boolean active)
           
 void setAttributeDetails(List<ResponsibilityAttributeBo> attributeDetails)
           
 void setAttributes(Map<String,String> attributes)
           
 void setDescription(String description)
           
 void setId(String id)
           
 void setName(String name)
           
 void setNamespaceCode(String namespaceCode)
           
 void setRoleResponsibilities(List<RoleResponsibilityBo> roleResponsibilities)
           
 void setTemplate(ResponsibilityTemplateBo template)
           
 void setTemplateId(String templateId)
           
static Responsibility to(ResponsibilityContract bo)
          Converts a mutable bo to its immutable counterpart
 
Methods inherited from class org.kuali.rice.krad.bo.DataObjectBase
generateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, prePersist, preUpdate, setExtensionObject, setObjectId, setVersionNumber, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned
getVersionNumber
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique
getObjectId
 

Constructor Detail

ResponsibilityBo

public ResponsibilityBo()
Method Detail

getAttributes

public Map<String,String> getAttributes()
Description copied from interface: ResponsibilityContract
Attributes for a Responsibility.

Specified by:
getAttributes in interface ResponsibilityContract
Returns:
attributes

to

public static Responsibility to(ResponsibilityContract bo)
Converts a mutable bo to its immutable counterpart

Parameters:
bo - the mutable business object
Returns:
the immutable object

from

public static ResponsibilityBo from(Responsibility im)
Converts a immutable object to its mutable counterpart

Parameters:
im - immutable object
Returns:
the mutable bo

getTemplate

public ResponsibilityTemplateBo getTemplate()
Description copied from interface: ResponsibilityContract
The Template referenced by the Responsibility.

Specified by:
getTemplate in interface ResponsibilityContract
Returns:
templateId

getDetailObjectsValues

public String getDetailObjectsValues()

getDetailObjectsToDisplay

public String getDetailObjectsToDisplay()

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

setId

public void setId(String id)

getNamespaceCode

public String getNamespaceCode()
Description copied from interface: ResponsibilityContract
The namespace code that this Responsibility belongs too.

Specified by:
getNamespaceCode in interface ResponsibilityContract
Returns:
namespaceCode

setNamespaceCode

public void setNamespaceCode(String namespaceCode)

getName

public String getName()
Description copied from interface: ResponsibilityContract
The name of the Responsibility.

Specified by:
getName in interface ResponsibilityContract
Returns:
name

setName

public void setName(String name)

getDescription

public String getDescription()
Description copied from interface: ResponsibilityContract
The description of the Responsibility.

Specified by:
getDescription in interface ResponsibilityContract
Returns:
description

setDescription

public void setDescription(String description)

getTemplateId

public String getTemplateId()

setTemplateId

public void setTemplateId(String templateId)

getActive

public boolean getActive()

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.

setActive

public void setActive(boolean active)

setTemplate

public void setTemplate(ResponsibilityTemplateBo template)

getAttributeDetails

public List<ResponsibilityAttributeBo> getAttributeDetails()

setAttributeDetails

public void setAttributeDetails(List<ResponsibilityAttributeBo> attributeDetails)

getRoleResponsibilities

public List<RoleResponsibilityBo> getRoleResponsibilities()

setRoleResponsibilities

public void setRoleResponsibilities(List<RoleResponsibilityBo> roleResponsibilities)

setAttributes

public void setAttributes(Map<String,String> attributes)


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