View Javadoc
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   * Created on Jun 30, 2004
18   *
19   */
20  package org.kuali.ole.pdp.businessobject;
21  
22  import javax.persistence.*;
23  
24  import org.kuali.rice.krad.bo.KualiCodeBase;
25  
26  @Entity
27  @Table(name = "PDP_ACCTG_CHG_CD_T")
28  @AttributeOverrides({
29          @AttributeOverride(name="name", column=@Column(name="ACCTG_CHG_CD_DESC")),
30          @AttributeOverride(name="code", column=@Column(name="ACCTG_CHG_CD")),
31          @AttributeOverride(name="active", column=@Column(name="ROW_ACTV_IND"))
32  })
33  public class AccountingChangeCode extends KualiCodeBase {
34  
35      public AccountingChangeCode() {
36      }
37  
38      @Transient
39      @Override
40      public boolean isActive() {
41          return super.isActive();
42      }
43  
44      @Transient
45      @Override
46      public void setActive(boolean a) {
47          super.setActive(a);
48      }
49  }