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

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.ProposalProjectDirector
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 ProposalProjectDirector
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements Primaryable, CGProjectDirector, org.kuali.rice.kns.bo.Inactivateable

Represents a relationship between a Proposal and a ProjectDirector.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
ProposalProjectDirector()
          Default constructor.
 
Method Summary
 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 getProposalProjectDirectorProjectTitle()
          Gets the proposalProjectDirectorProjectTitle attribute.
 String getUserLookupRoleName()
          Gets the userLookupRoleName attribute.
 String getUserLookupRoleNamespaceCode()
          Gets the userLookupRoleNamespaceCode attribute.
 boolean isActive()
          Gets the active attribute.
 boolean isPrimary()
           
 boolean isProposalPrimaryProjectDirectorIndicator()
          Gets the proposalPrimaryProjectDirectorIndicator attribute.
 void setActive(boolean active)
          Sets the active attribute value.
 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 setProposalPrimaryProjectDirectorIndicator(boolean proposalPrimaryProjectDirectorIndicator)
          Sets the proposalPrimaryProjectDirectorIndicator attribute.
 void setProposalProjectDirectorProjectTitle(String proposalProjectDirectorProjectTitle)
          Sets the proposalProjectDirectorProjectTitle attribute.
 String toString()
          This can be displayed by Proposal.xml lookup results.
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, 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

ProposalProjectDirector

public ProposalProjectDirector()
Default 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)

isProposalPrimaryProjectDirectorIndicator

public boolean isProposalPrimaryProjectDirectorIndicator()
Gets the proposalPrimaryProjectDirectorIndicator attribute.

Returns:
Returns the proposalPrimaryProjectDirectorIndicator

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()

setProposalPrimaryProjectDirectorIndicator

public void setProposalPrimaryProjectDirectorIndicator(boolean proposalPrimaryProjectDirectorIndicator)
Sets the proposalPrimaryProjectDirectorIndicator attribute.

Parameters:
proposalPrimaryProjectDirectorIndicator - The proposalPrimaryProjectDirectorIndicator to set.

getProposalProjectDirectorProjectTitle

public String getProposalProjectDirectorProjectTitle()
Gets the proposalProjectDirectorProjectTitle attribute.

Returns:
Returns the proposalProjectDirectorProjectTitle

setProposalProjectDirectorProjectTitle

public void setProposalProjectDirectorProjectTitle(String proposalProjectDirectorProjectTitle)
Sets the proposalProjectDirectorProjectTitle attribute.

Parameters:
proposalProjectDirectorProjectTitle - The proposalProjectDirectorProjectTitle 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.

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)

toStringMapper

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

toString

public String toString()
This can be displayed by Proposal.xml lookup results.

Overrides:
toString in class org.kuali.rice.kns.bo.BusinessObjectBase
See Also:
Object.toString()

getUserLookupRoleNamespaceCode

public String getUserLookupRoleNamespaceCode()
Gets the userLookupRoleNamespaceCode attribute.

Returns:
Returns the userLookupRoleNamespaceCode.

getUserLookupRoleName

public String getUserLookupRoleName()
Gets the userLookupRoleName attribute.

Returns:
Returns the userLookupRoleName.


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