View Javadoc
1   /**
2    * Copyright 2005-2016 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.rice.kim.bo.ui;
17  
18  import org.kuali.rice.kim.document.IdentityManagementPersonDocument;
19  import org.kuali.rice.krad.data.jpa.converters.BooleanYNConverter;
20  
21  import javax.persistence.Column;
22  import javax.persistence.Convert;
23  import javax.persistence.MappedSuperclass;
24  import javax.persistence.Transient;
25  
26  /**
27   * This is a description of what this class does - shyu don't forget to fill this in. 
28   * 
29   * @author Kuali Rice Team (rice.collab@kuali.org)
30   *
31   */
32  @MappedSuperclass
33  public class PersonDocumentBoDefaultBase extends KimDocumentBoActivatableEditableBase{
34      private static final long serialVersionUID = 1L;
35  
36  	@Column(name="DFLT_IND")
37  	@Convert(converter=BooleanYNConverter.class)
38  	protected boolean dflt;
39  	
40      @Transient
41  	protected IdentityManagementPersonDocument personDocument;
42  	
43  	public IdentityManagementPersonDocument getPersonDocument() {
44  		return this.personDocument;
45  	}
46  
47  	public void setPersonDocument(IdentityManagementPersonDocument personDocument) {
48  		this.personDocument = personDocument;
49  	}
50  
51  	public boolean isDflt() {
52  		return this.dflt;
53  	}
54  
55  	public void setDflt(boolean dflt) {
56  		this.dflt = dflt;
57  	}
58  
59  }