View Javadoc
1   /**
2    * Copyright 2005-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.rice.kim.impl.identity.residency;
17  
18  import javax.persistence.AttributeOverride;
19  import javax.persistence.AttributeOverrides;
20  import javax.persistence.Column;
21  import javax.persistence.Entity;
22  import javax.persistence.Table;
23  
24  import org.kuali.rice.kim.api.identity.CodedAttribute;
25  import org.kuali.rice.kim.impl.identity.CodedAttributeBo;
26  
27  @Entity
28  @AttributeOverrides({
29          @AttributeOverride(name="code",column=@Column(name="RES_STTS_CD"))
30  })
31  @Table(name = "")
32  public class EntityResidencyStatusBo extends CodedAttributeBo {
33      private static final long serialVersionUID = -7999904356580992741L;
34  
35      public static EntityResidencyStatusBo from(CodedAttribute immutable) {
36          return CodedAttributeBo.from(EntityResidencyStatusBo.class, immutable);
37      }
38  }