View Javadoc
1   /**
2    * Copyright 2004-2014 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  package org.kuali.kpme.core.document.calendar;
17  
18  import java.util.Date;
19  
20  import org.joda.time.DateTime;
21  import org.kuali.kpme.core.api.document.calendar.CalendarDocumentHeaderContract;
22  import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
23  
24  public abstract class CalendarDocumentHeader extends PersistableBusinessObjectBase implements CalendarDocumentHeaderContract {
25  	private static final long serialVersionUID = 8522745692401236408L;
26  	protected String documentId;
27  	protected String principalId;
28  	protected Date beginDate;
29  	protected Date endDate;
30  	protected String documentStatus;
31  	protected String calendarType;
32  	
33  	public CalendarDocumentHeader() {
34  		
35  	}
36  	
37  	public abstract String getDocumentId();
38  
39  	public abstract String getPrincipalId();
40  
41  	public abstract String getDocumentStatus();
42  
43  	public abstract Date getBeginDate();
44  
45  	public abstract DateTime getBeginDateTime();
46  
47  	public abstract Date getEndDate();
48  
49  	public abstract DateTime getEndDateTime();
50  	
51  	public abstract String getCalendarType();
52  
53  }