org.kuali.kfs.sec.businessobject
Class SecurityModel

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.kfs.sec.businessobject.SecurityModel
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.Inactivateable, org.kuali.rice.kns.bo.PersistableBusinessObject

public class SecurityModel
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements org.kuali.rice.kns.bo.Inactivateable

Represents the assignment of one or more definitions to one or more members (principal, group, or role). A model becomes a role in KIM

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
SecurityModel()
           
 
Method Summary
 String getDescription()
          Gets the description attribute.
 org.kuali.rice.kns.util.KualiInteger getId()
          Gets the id attribute.
 List<SecurityModelDefinition> getModelDefinitions()
          Gets the modelDefinitions attribute.
 List<SecurityModelMember> getModelMembers()
          Gets the modelMembers attribute.
 String getName()
          Gets the name attribute.
 String getRoleId()
          Gets the roleId attribute.
 boolean isActive()
          Gets the active attribute.
 void setActive(boolean active)
          Sets the active attribute value.
 void setDescription(String description)
          Sets the description attribute value.
 void setId(org.kuali.rice.kns.util.KualiInteger id)
          Sets the id attribute value.
 void setModelDefinitions(List<SecurityModelDefinition> modelDefinitions)
          Sets the modelDefinitions attribute value.
 void setModelMembers(List<SecurityModelMember> modelMembers)
          Sets the modelMembers attribute value.
 void setName(String name)
          Sets the name attribute value.
 void setRoleId(String roleId)
          Sets the roleId attribute value.
protected  LinkedHashMap toStringMapper()
           
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, buildListOfDeletionAwareLists, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow
 

Constructor Detail

SecurityModel

public SecurityModel()
Method Detail

getId

public org.kuali.rice.kns.util.KualiInteger getId()
Gets the id attribute.

Returns:
Returns the id.

setId

public void setId(org.kuali.rice.kns.util.KualiInteger id)
Sets the id attribute value.

Parameters:
id - The id to set.

getName

public String getName()
Gets the name attribute.

Returns:
Returns the name.

setName

public void setName(String name)
Sets the name attribute value.

Parameters:
name - The name to set.

getDescription

public String getDescription()
Gets the description attribute.

Returns:
Returns the description.

setDescription

public void setDescription(String description)
Sets the description attribute value.

Parameters:
description - The description to set.

getRoleId

public String getRoleId()
Gets the roleId attribute.

Returns:
Returns the roleId.

setRoleId

public void setRoleId(String roleId)
Sets the roleId attribute value.

Parameters:
roleId - The roleId to set.

isActive

public boolean isActive()
Gets the active attribute.

Specified by:
isActive in interface org.kuali.rice.kns.bo.Inactivateable
Returns:
Returns the active.

setActive

public void setActive(boolean active)
Sets the active attribute value.

Specified by:
setActive in interface org.kuali.rice.kns.bo.Inactivateable
Parameters:
active - The active to set.

getModelDefinitions

public List<SecurityModelDefinition> getModelDefinitions()
Gets the modelDefinitions attribute.

Returns:
Returns the modelDefinitions.

setModelDefinitions

public void setModelDefinitions(List<SecurityModelDefinition> modelDefinitions)
Sets the modelDefinitions attribute value.

Parameters:
modelDefinitions - The modelDefinitions to set.

getModelMembers

public List<SecurityModelMember> getModelMembers()
Gets the modelMembers attribute.

Returns:
Returns the modelMembers.

setModelMembers

public void setModelMembers(List<SecurityModelMember> modelMembers)
Sets the modelMembers attribute value.

Parameters:
modelMembers - The modelMembers to set.

toStringMapper

protected LinkedHashMap toStringMapper()
Specified by:
toStringMapper in class org.kuali.rice.kns.bo.BusinessObjectBase
See Also:
BusinessObjectBase.toStringMapper()


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