Coverage Report - org.kuali.rice.kim.bo.entity.dto.KimEntityResidencyInfo
 
Classes in this File Line Coverage Branch Coverage Complexity
KimEntityResidencyInfo
0%
0/21
0%
0/2
1.1
 
 1  
 /*
 2  
  * Copyright 2007-2009 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.entity.dto;
 17  
 
 18  
 import org.kuali.rice.kim.bo.entity.KimEntityResidency;
 19  
 
 20  
 /**
 21  
  * @author Kuali Rice Team (kuali-rice@googlegroups.com)
 22  
  */
 23  
 public class KimEntityResidencyInfo extends KimInfoBase implements KimEntityResidency {
 24  
 
 25  
         private static final long serialVersionUID = -3939718576000597749L;
 26  
 
 27  
         private String id;
 28  
         private String entityId;
 29  
         private String determinationMethod;
 30  
         private String inStateFlag;
 31  
 
 32  
         public KimEntityResidencyInfo() {
 33  0
                 super();
 34  0
         }
 35  
 
 36  
         public KimEntityResidencyInfo(KimEntityResidency kimEntityResidency) {
 37  0
                 this();
 38  0
                 if ( kimEntityResidency != null ) {
 39  0
                         id = kimEntityResidency.getId();
 40  0
                         entityId = kimEntityResidency.getEntityId();
 41  0
                         determinationMethod = kimEntityResidency.getDeterminationMethod();
 42  0
                         inStateFlag = kimEntityResidency.getInState();
 43  
                 }
 44  0
         }
 45  
 
 46  
         /**
 47  
          * @param inStateFlag the inStateFlag to set
 48  
          */
 49  
         public void setInStateFlag(String inStateFlag) {
 50  0
                 this.inStateFlag = inStateFlag;
 51  0
         }
 52  
 
 53  
         /**
 54  
          * @param id the id to set
 55  
          */
 56  
         public void setId(String id) {
 57  0
                 this.id = id;
 58  0
         }
 59  
 
 60  
         /**
 61  
          * @param entityId the entityId to set
 62  
          */
 63  
         public void setEntityId(String entityId) {
 64  0
                 this.entityId = entityId;
 65  0
         }
 66  
 
 67  
         /**
 68  
          * @param determinationMethod the determinationMethod to set
 69  
          */
 70  
         public void setDeterminationMethod(String determinationMethod) {
 71  0
                 this.determinationMethod = determinationMethod;
 72  0
         }
 73  
 
 74  
         /**
 75  
          * {@inheritDoc} 
 76  
          * @see org.kuali.rice.kim.bo.entity.KimEntityResidency#getDeterminationMethod()
 77  
          */
 78  
         public String getDeterminationMethod() {
 79  0
                 return determinationMethod;
 80  
         }
 81  
 
 82  
         /**
 83  
          * {@inheritDoc}
 84  
          * @see org.kuali.rice.kim.bo.entity.KimEntityResidency#getEntityId()
 85  
          */
 86  
         public String getEntityId() {
 87  0
                 return entityId;
 88  
         }
 89  
 
 90  
         /**
 91  
          * {@inheritDoc}
 92  
          * @see org.kuali.rice.kim.bo.entity.KimEntityResidency#getId()
 93  
          */
 94  
         public String getId() {
 95  0
                 return id;
 96  
         }
 97  
 
 98  
         /**
 99  
          * {@inheritDoc}
 100  
          * @see org.kuali.rice.kim.bo.entity.KimEntityResidency#getInState()
 101  
          */
 102  
         public String getInState() {
 103  0
                 return inStateFlag;
 104  
         }
 105  
 }