1 /* 2 * Copyright 2007 The Kuali Foundation 3 * 4 * Licensed under the Educational Community License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.opensource.org/licenses/ecl2.php 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package org.kuali.ole.module.cg.businessobject; 18 19 import org.kuali.rice.kim.api.identity.Person; 20 21 22 /** 23 * This interface defines all the necessary methods to define a contracts and grants project director object. 24 */ 25 public interface CGProjectDirector { 26 27 /** 28 * Gets the principalId attribute. 29 * 30 * @return Returns the principalId 31 */ 32 public String getPrincipalId(); 33 34 /** 35 * Sets the principalId attribute. 36 * 37 * @param principalId The principalId to set. 38 */ 39 public void setPrincipalId(String principalId); 40 41 /** 42 * Gets the proposalNumber attribute. 43 * 44 * @return Returns the proposalNumber 45 */ 46 public Long getProposalNumber(); 47 48 /** 49 * Sets the proposalNumber attribute. 50 * 51 * @param proposalNumber The proposalNumber to set. 52 */ 53 public void setProposalNumber(Long proposalNumber); 54 55 /** 56 * Gets the project director attribute. 57 * 58 * @return the projectDirector. 59 */ 60 public Person getProjectDirector(); 61 62 /** 63 * Sets the projectDirector. 64 * 65 * @param projectDirector the projectDirector to set 66 * @deprecated required by PersonServiceImpl.isPersonProperty() for PojoPropertyUtilsBean.getPropertyDescriptor() 67 */ 68 public void setProjectDirector(Person projectDirector); 69 70 } 71