Coverage Report - org.kuali.rice.kim.framework.identity.citizenship.EntityCitizenshipStatusEbo
 
Classes in this File Line Coverage Branch Coverage Complexity
EntityCitizenshipStatusEbo
0%
0/11
0%
0/4
0
 
 1  
 package org.kuali.rice.kim.framework.identity.citizenship
 2  
 
 3  
 import org.kuali.rice.kim.api.identity.TypeContract
 4  
 import org.kuali.rice.krad.bo.ExternalizableBusinessObject
 5  
 import org.kuali.rice.kim.api.identity.Type
 6  
 
 7  
 class EntityCitizenshipStatusEbo implements TypeContract, ExternalizableBusinessObject {
 8  
     String code;
 9  
     String name;
 10  
     boolean active;
 11  
     String sortCode;
 12  
     Long versionNumber;
 13  
         String objectId;
 14  
 
 15  
 
 16  
     /**
 17  
    * Converts a mutable EntityCitizenshipStatusEbo to an immutable EntityCitizenshipStatus representation.
 18  
    * @param bo
 19  
    * @return an immutable EntityCitizenshipStatus
 20  
    */
 21  
   static Type to(EntityCitizenshipStatusEbo bo) {
 22  0
     if (bo == null) { return null }
 23  0
     return Type.Builder.create(bo).build()
 24  
   }
 25  
 
 26  
   /**
 27  
    * Creates a EntityCitizenshipStatusEbo business object from an immutable representation of a EntityCitizenshipStatus.
 28  
    * @param an immutable EntityCitizenshipStatus
 29  
    * @return a EntityCitizenshipStatusEbo
 30  
    */
 31  
   static EntityCitizenshipStatusEbo from(Type immutable) {
 32  0
     if (immutable == null) {return null}
 33  
 
 34  0
     EntityCitizenshipStatusEbo bo = new EntityCitizenshipStatusEbo()
 35  0
     bo.code = immutable.code
 36  0
     bo.name = immutable.name
 37  0
     bo.sortCode = immutable.sortCode
 38  0
     bo.active = immutable.active
 39  0
     bo.versionNumber = immutable.versionNumber
 40  0
     bo.objectId = immutable.objectId
 41  
 
 42  0
     return bo;
 43  
   }
 44  
 
 45  
     void refresh() { }
 46  
 }