001 /*
002 * Copyright 2011 The Kuali Foundation.
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016
017 package org.kuali.kfs.module.cg.businessobject;
018
019 import org.kuali.rice.kim.bo.Person;
020
021
022 /**
023 * This interface defines all the necessary methods to define a contracts and grants project director object.
024 */
025 public interface CGProjectDirector {
026
027 /**
028 * Gets the principalId attribute.
029 *
030 * @return Returns the principalId
031 */
032 public String getPrincipalId();
033
034 /**
035 * Sets the principalId attribute.
036 *
037 * @param principalId The principalId to set.
038 */
039 public void setPrincipalId(String principalId);
040
041 /**
042 * Gets the proposalNumber attribute.
043 *
044 * @return Returns the proposalNumber
045 */
046 public Long getProposalNumber();
047
048 /**
049 * Sets the proposalNumber attribute.
050 *
051 * @param proposalNumber The proposalNumber to set.
052 */
053 public void setProposalNumber(Long proposalNumber);
054
055 /**
056 * Gets the project director attribute.
057 *
058 * @return the projectDirector.
059 */
060 public Person getProjectDirector();
061
062 /**
063 * Sets the projectDirector.
064 *
065 * @param projectDirector the projectDirector to set
066 * @deprecated required by PersonServiceImpl.isPersonProperty() for PojoPropertyUtilsBean.getPropertyDescriptor()
067 */
068 public void setProjectDirector(Person projectDirector);
069
070 }
071