public class InstitutionalProposalPersonUnit extends KraPersistableBusinessObjectBase implements Comparable<InstitutionalProposalPersonUnit>, SequenceAssociate<InstitutionalProposal>
| Modifier and Type | Field and Description |
|---|---|
static boolean |
IS_LEAD_UNIT |
static boolean |
IS_NOT_LEAD_UNIT |
UPDATE_USER_LENGTH| Constructor and Description |
|---|
InstitutionalProposalPersonUnit()
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(InstitutionalProposalPersonUnitCreditSplit creditSplit) |
int |
compareTo(InstitutionalProposalPersonUnit other) |
boolean |
equals(Object obj) |
static Unit |
findLeadUnit(Collection<InstitutionalProposalPersonUnit> institutionalProposalPersonUnits)
Find the lead unit from among institutionalProposal institutionalProposalPerson units.
|
protected org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService() |
InstitutionalProposalPersonUnitCreditSplit |
getCreditSplit(int index) |
List<InstitutionalProposalPersonUnitCreditSplit> |
getCreditSplits()
Gets the creditSplits attribute.
|
String |
getFullName() |
Long |
getInstitutionalProposalContactId()
Gets the institutionalProposalPersonId attribute.
|
InstitutionalProposalContact |
getInstitutionalProposalPerson() |
Long |
getInstitutionalProposalPersonUnitId()
Gets the institutionalProposalPersonUnitId attribute.
|
List<UnitAdministrator> |
getOspAdministrators() |
Integer |
getSequenceNumber()
This gets the current version number.
|
InstitutionalProposal |
getSequenceOwner()
The SequenceOwner is returned; "this" should be returned if this associate is the sequence owner.
|
Unit |
getUnit() |
String |
getUnitName() |
String |
getUnitNumber() |
int |
hashCode() |
void |
initializeDefaultCreditSplits()
This method will initialize required credit splits and populate them with
default credits of 100%.
|
boolean |
isLeadUnit() |
void |
resetPersistenceState()
This method resets the persistence state used to establish
whether this is a new entity or an already-persisted entity.
|
void |
setCreditSplits(List<InstitutionalProposalPersonUnitCreditSplit> creditSplits)
Sets the creditSplits attribute value.
|
void |
setInstitutionalProposalContactId(Long institutionalProposalPersonId)
Sets the institutionalProposalPersonId attribute value.
|
void |
setInstitutionalProposalPerson(InstitutionalProposalPerson institutionalProposalPerson) |
void |
setInstitutionalProposalPersonUnitId(Long institutionalProposalPersonUnitId)
Sets the institutionalProposalPersonUnitId attribute value.
|
void |
setLeadUnit(boolean leadUnit) |
void |
setSequenceOwner(InstitutionalProposal newlyVersionedOwner)
This sets the sequence owner on the associate.
|
void |
setUnit(Unit unit) |
void |
setUnitNumber(String unitNumber)
Sets the unitNumber attribute value.
|
getAuthorPersonName, getKcPersonService, getUpdateTimestamp, getUpdateUser, isUpdateUserSet, postPersist, prePersist, preUpdate, setUpdateTimestamp, setUpdateUser, setUpdateUserSetafterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postRemove, postUpdate, preRemove, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberpublic static final boolean IS_LEAD_UNIT
public static final boolean IS_NOT_LEAD_UNIT
public InstitutionalProposalPersonUnit()
public static Unit findLeadUnit(Collection<InstitutionalProposalPersonUnit> institutionalProposalPersonUnits)
institutionalProposalPersonUnits - public List<UnitAdministrator> getOspAdministrators()
public void add(InstitutionalProposalPersonUnitCreditSplit creditSplit)
creditSplit - public void initializeDefaultCreditSplits()
public int compareTo(InstitutionalProposalPersonUnit other)
compareTo in interface Comparable<InstitutionalProposalPersonUnit>Comparable.compareTo(java.lang.Object)public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public Long getInstitutionalProposalContactId()
public InstitutionalProposalContact getInstitutionalProposalPerson()
public Long getInstitutionalProposalPersonUnitId()
public InstitutionalProposalPersonUnitCreditSplit getCreditSplit(int index)
index - public List<InstitutionalProposalPersonUnitCreditSplit> getCreditSplits()
public String getFullName()
public Unit getUnit()
public String getUnitName()
public String getUnitNumber()
public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean isLeadUnit()
public void setInstitutionalProposalContactId(Long institutionalProposalPersonId)
institutionalProposalPersonId - The institutionalProposalPersonId to set.public void setInstitutionalProposalPerson(InstitutionalProposalPerson institutionalProposalPerson)
institutionalProposalPerson - public void setInstitutionalProposalPersonUnitId(Long institutionalProposalPersonUnitId)
institutionalProposalPersonUnitId - The institutionalProposalPersonUnitId to set.public void setCreditSplits(List<InstitutionalProposalPersonUnitCreditSplit> creditSplits)
creditSplits - The creditSplits to set.public void setLeadUnit(boolean leadUnit)
leadUnit - public void setUnit(Unit unit)
unit - public void setUnitNumber(String unitNumber)
unitNumber - The unitNumber to set.protected org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
public InstitutionalProposal getSequenceOwner()
SequenceAssociategetSequenceOwner in interface SequenceAssociate<InstitutionalProposal>public void setSequenceOwner(InstitutionalProposal newlyVersionedOwner)
SequenceAssociatesetSequenceOwner in interface SequenceAssociate<InstitutionalProposal>public Integer getSequenceNumber()
SequenceablegetSequenceNumber in interface Sequenceablepublic void resetPersistenceState()
SequenceableresetPersistenceState in interface SequenceableCopyright © 2013 The Kuali Foundation. All Rights Reserved.