org.kuali.kfs.module.cg.businessobject
Class AwardProjectDirector

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

public class AwardProjectDirector
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements Primaryable, CGProjectDirector, org.kuali.rice.kns.bo.Inactivateable

This class represents an association between an award and a project director. It's like a reference to the project director from the award. This way an award can maintain a collection of these references instead of owning project directors directly.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
AwardProjectDirector()
          Default no-args constructor.
 
Method Summary
 String getAwardProjectDirectorProjectTitle()
          Gets the awardProjectDirectorProjectTitle attribute.
 String getPrincipalId()
          Gets the principalId attribute.
 org.kuali.rice.kim.bo.Person getProjectDirector()
          Gets the project director attribute.
 Long getProposalNumber()
          Gets the proposalNumber attribute.
 String getUserLookupRoleName()
           
 String getUserLookupRoleNamespaceCode()
           
 boolean isActive()
           
 boolean isAwardPrimaryProjectDirectorIndicator()
          Gets the awardPrimaryProjectDirectorIndicator attribute.
 boolean isPrimary()
           
 void setActive(boolean active)
           
 void setAwardPrimaryProjectDirectorIndicator(boolean awardPrimaryProjectDirectorIndicator)
          Sets the awardPrimaryProjectDirectorIndicator attribute.
 void setAwardProjectDirectorProjectTitle(String awardProjectDirectorProjectTitle)
          Sets the awardProjectDirectorProjectTitle attribute.
 void setPrincipalId(String principalId)
          Sets the principalId attribute.
 void setProjectDirector(org.kuali.rice.kim.bo.Person projectDirector)
          Sets the projectDirector.
 void setProposalNumber(Long proposalNumber)
          Sets the proposalNumber attribute.
 void setUserLookupRoleName(String userLookupRoleName)
           
 void setUserLookupRoleNamespaceCode(String userLookupRoleNamespaceCode)
           
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

AwardProjectDirector

public AwardProjectDirector()
Default no-args constructor.

Method Detail

getPrincipalId

public String getPrincipalId()
Description copied from interface: CGProjectDirector
Gets the principalId attribute.

Specified by:
getPrincipalId in interface CGProjectDirector
Returns:
Returns the principalId
See Also:
CGProjectDirector.getPrincipalId()

setPrincipalId

public void setPrincipalId(String principalId)
Description copied from interface: CGProjectDirector
Sets the principalId attribute.

Specified by:
setPrincipalId in interface CGProjectDirector
Parameters:
principalId - The principalId to set.
See Also:
CGProjectDirector.setPrincipalId(java.lang.String)

getProposalNumber

public Long getProposalNumber()
Description copied from interface: CGProjectDirector
Gets the proposalNumber attribute.

Specified by:
getProposalNumber in interface CGProjectDirector
Returns:
Returns the proposalNumber
See Also:
CGProjectDirector.getProposalNumber()

setProposalNumber

public void setProposalNumber(Long proposalNumber)
Description copied from interface: CGProjectDirector
Sets the proposalNumber attribute.

Specified by:
setProposalNumber in interface CGProjectDirector
Parameters:
proposalNumber - The proposalNumber to set.
See Also:
CGProjectDirector.setProposalNumber(java.lang.Long)

isAwardPrimaryProjectDirectorIndicator

public boolean isAwardPrimaryProjectDirectorIndicator()
Gets the awardPrimaryProjectDirectorIndicator attribute.

Returns:
Returns the awardPrimaryProjectDirectorIndicator

setAwardPrimaryProjectDirectorIndicator

public void setAwardPrimaryProjectDirectorIndicator(boolean awardPrimaryProjectDirectorIndicator)
Sets the awardPrimaryProjectDirectorIndicator attribute.

Parameters:
awardPrimaryProjectDirectorIndicator - The awardPrimaryProjectDirectorIndicator to set.

getAwardProjectDirectorProjectTitle

public String getAwardProjectDirectorProjectTitle()
Gets the awardProjectDirectorProjectTitle attribute.

Returns:
Returns the awardProjectDirectorProjectTitle

setAwardProjectDirectorProjectTitle

public void setAwardProjectDirectorProjectTitle(String awardProjectDirectorProjectTitle)
Sets the awardProjectDirectorProjectTitle attribute.

Parameters:
awardProjectDirectorProjectTitle - The awardProjectDirectorProjectTitle to set.

getProjectDirector

public org.kuali.rice.kim.bo.Person getProjectDirector()
Description copied from interface: CGProjectDirector
Gets the project director attribute.

Specified by:
getProjectDirector in interface CGProjectDirector
Returns:
the projectDirector.
See Also:
CGProjectDirector.getProjectDirector()

setProjectDirector

public void setProjectDirector(org.kuali.rice.kim.bo.Person projectDirector)
Description copied from interface: CGProjectDirector
Sets the projectDirector.

Specified by:
setProjectDirector in interface CGProjectDirector
Parameters:
projectDirector - the projectDirector to set
See Also:
org.kuali.kfs.module.cg.businessobject.CGProjectDirector#setProjectDirector(org.kuali.kfs.module.cg.businessobject.ProjectDirector)

isPrimary

public boolean isPrimary()
Specified by:
isPrimary in interface Primaryable
Returns:
whether this BO instance is the primary one within a collection. This is normally exclusive of any other BOs in the same collection.
See Also:
Primaryable.isPrimary()

isActive

public boolean isActive()
Specified by:
isActive in interface org.kuali.rice.kns.bo.Inactivateable
See Also:
Inactivateable.isActive()

setActive

public void setActive(boolean active)
Specified by:
setActive in interface org.kuali.rice.kns.bo.Inactivateable
See Also:
Inactivateable.setActive(boolean)

getUserLookupRoleNamespaceCode

public String getUserLookupRoleNamespaceCode()

setUserLookupRoleNamespaceCode

public void setUserLookupRoleNamespaceCode(String userLookupRoleNamespaceCode)

getUserLookupRoleName

public String getUserLookupRoleName()

setUserLookupRoleName

public void setUserLookupRoleName(String userLookupRoleName)

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.