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

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.ProposalResearchRisk
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 ProposalResearchRisk
extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
implements org.kuali.rice.kns.bo.Inactivateable

Represents a relationship between a Proposal and a ResearchRisk.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
ProposalResearchRisk()
          Default constructor.
 
Method Summary
 Proposal getProposal()
          Gets the Proposal.
 Long getProposalNumber()
          Gets the key of the Proposal related to the ResearchRisk.
 ResearchRiskType getResearchRiskType()
          Gets the ResearchRiskType of the risk associated with the Proposal.
 String getResearchRiskTypeCode()
          Gets the code of the ResearchRiskType associated to the Proposal.
 boolean isActive()
          Returns whether or not this object is active.
 void setActive(boolean active)
          Sets the active indicator for this object.
 void setProposal(Proposal proposal)
          Sets the Proposal.
 void setProposalNumber(Long proposalNumber)
          Sets the key of the Proposal related to the ResearchRisk.
 void setResearchRiskType(ResearchRiskType researchRiskType)
          Sets the ResearchRiskType associated with the Proposal.
 void setResearchRiskTypeCode(String researchRiskTypeCode)
          Gets the code of the ResearchRiskType associated to the Proposal.
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

ProposalResearchRisk

public ProposalResearchRisk()
Default constructor.

Method Detail

toStringMapper

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

getProposal

public Proposal getProposal()
Gets the Proposal.

Returns:

setProposal

public void setProposal(Proposal proposal)
Sets the Proposal.

Parameters:
proposal -

getResearchRiskType

public ResearchRiskType getResearchRiskType()
Gets the ResearchRiskType of the risk associated with the Proposal.

Returns:
the ResearchRiskType.

setResearchRiskType

public void setResearchRiskType(ResearchRiskType researchRiskType)
Sets the ResearchRiskType associated with the Proposal.

Parameters:
researchRiskType -

isActive

public boolean isActive()
Returns whether or not this object is active.

Specified by:
isActive in interface org.kuali.rice.kns.bo.Inactivateable
Returns:
true or false

setActive

public void setActive(boolean active)
Sets the active indicator for this object.

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

getProposalNumber

public Long getProposalNumber()
Gets the key of the Proposal related to the ResearchRisk.

Returns:
the id of the Proposal related to the ResearchRisk.

setProposalNumber

public void setProposalNumber(Long proposalNumber)
Sets the key of the Proposal related to the ResearchRisk.

Parameters:
the - id of the Proposal related to the ResearchRisk.

getResearchRiskTypeCode

public String getResearchRiskTypeCode()
Gets the code of the ResearchRiskType associated to the Proposal.

Returns:
the code of the ResearchRiskType associated to the Proposal.

setResearchRiskTypeCode

public void setResearchRiskTypeCode(String researchRiskTypeCode)
Gets the code of the ResearchRiskType associated to the Proposal.

Parameters:
the - code of the type of the ResearchRiskType associated to the Proposal.


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