public class ProposalSite extends KraPersistableBusinessObjectBase
| Modifier and Type | Field and Description |
|---|---|
static int |
PROPOSAL_SITE_APPLICANT_ORGANIZATION |
static int |
PROPOSAL_SITE_OTHER_ORGANIZATION |
static int |
PROPOSAL_SITE_PERFORMANCE_SITE |
static int |
PROPOSAL_SITE_PERFORMING_ORGANIZATION |
UPDATE_USER_LENGTH| Constructor and Description |
|---|
ProposalSite() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCongressionalDistrict(CongressionalDistrict congressionalDistrict) |
void |
deleteCongressionalDistrict(int districtIndex) |
List<CongressionalDistrict> |
getCongressionalDistricts() |
CongressionalDistrict |
getDefaultCongressionalDistrict()
This method returns the first congressional district defined for the ProposalSite,
or null if there is none.
|
String |
getFirstCongressionalDistrictName()
This method returns the name first congressional district defined for the ProposalSite,
or an empty string if there is none.
|
String |
getLocationName()
This method returns the name of the Proposal Site
|
Integer |
getLocationTypeCode() |
Organization |
getOrganization() |
String |
getOrganizationId() |
String |
getProposalNumber() |
Rolodex |
getRolodex() |
Integer |
getRolodexId() |
Integer |
getSiteNumber() |
void |
initializeDefaultCongressionalDistrict()
This method creates a CongressionalDistrict from the district defined in the Organization,
and adds it to the list of congressional districts if it doesn't exist yet.
|
void |
setCongressionalDistricts(List<CongressionalDistrict> congressionalDistricts) |
void |
setDefaultCongressionalDistrict(CongressionalDistrict congressionalDistrict) |
void |
setDefaultCongressionalDistrictIdentifier(String districtIdentifier)
This method deletes all existing congressional districts and adds one new congressional
district.
|
void |
setLocationName(String locationName) |
void |
setLocationTypeCode(Integer locationTypeCode) |
void |
setOrganization(Organization organization) |
void |
setOrganizationId(String organizationId) |
void |
setProposalNumber(String proposalNumber) |
void |
setRolodex(Rolodex rolodex) |
void |
setRolodexId(Integer rolodexId) |
void |
setSiteNumber(Integer siteNumber) |
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 int PROPOSAL_SITE_APPLICANT_ORGANIZATION
public static final int PROPOSAL_SITE_PERFORMING_ORGANIZATION
public static final int PROPOSAL_SITE_OTHER_ORGANIZATION
public static final int PROPOSAL_SITE_PERFORMANCE_SITE
public void setProposalNumber(String proposalNumber)
public String getProposalNumber()
public void setSiteNumber(Integer siteNumber)
public Integer getSiteNumber()
public void setLocationName(String locationName)
public String getLocationName()
public void setLocationTypeCode(Integer locationTypeCode)
public Integer getLocationTypeCode()
public void setOrganizationId(String organizationId)
public String getOrganizationId()
public void setOrganization(Organization organization)
public Organization getOrganization()
public void setRolodexId(Integer rolodexId)
public Integer getRolodexId()
public void setRolodex(Rolodex rolodex)
public Rolodex getRolodex()
public void setCongressionalDistricts(List<CongressionalDistrict> congressionalDistricts)
public List<CongressionalDistrict> getCongressionalDistricts()
public void addCongressionalDistrict(CongressionalDistrict congressionalDistrict)
public void deleteCongressionalDistrict(int districtIndex)
public void setDefaultCongressionalDistrict(CongressionalDistrict congressionalDistrict)
public CongressionalDistrict getDefaultCongressionalDistrict()
public String getFirstCongressionalDistrictName()
public void setDefaultCongressionalDistrictIdentifier(String districtIdentifier)
districtIdentifier - The congressional district string, e.g. "AZ-5"public void initializeDefaultCongressionalDistrict()
Copyright © 2013 The Kuali Foundation. All Rights Reserved.