Coverage Report - org.openpermis.editor.policy.adapter.technical.AbstractTechnical
 
Classes in this File Line Coverage Branch Coverage Complexity
AbstractTechnical
0%
0/4
N/A
1
 
 1  
 /*
 2  
  * Copyright (c) 2009, Ergon Informatik AG (http://www.ergon.ch)
 3  
  * All rights reserved.
 4  
  * 
 5  
  * Licensed under the Open Permis License which accompanies this distribution, 
 6  
  * and is available at http://www.openpermis.org/BSDlicenceKent.txt
 7  
  */
 8  
 package org.openpermis.editor.policy.adapter.technical;
 9  
 
 10  
 import org.openpermis.policy.bean.PartBean;
 11  
 
 12  
 
 13  
 /**
 14  
  * 
 15  
  * @since 0.3.0
 16  
  */
 17  
 public class AbstractTechnical {
 18  
 
 19  
         //---- Static
 20  
         
 21  
         //---- State
 22  
         
 23  
         private PartBean partBean;                                                                                                                                                
 24  
         
 25  
         //---- Constructors
 26  
         
 27  
         /**
 28  
          * Creates a part bean technical adaptee.
 29  
          * @param partBean a {@link PartBean}.
 30  
          * @since 0.3.0
 31  
          */
 32  0
         public AbstractTechnical (PartBean partBean) {
 33  0
                 this.partBean = partBean;
 34  0
         }
 35  
         
 36  
         //---- Methods
 37  
         
 38  
         //---- Overview
 39  
         
 40  
         /**
 41  
          * @since 0.3.0
 42  
          */
 43  
         public String get () {
 44  0
                 return this.partBean.toString();
 45  
         }
 46  
 
 47  
 }