Coverage Report - org.openpermis.policy.bean.ObligationBean
 
Classes in this File Line Coverage Branch Coverage Complexity
ObligationBean
N/A
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.policy.bean;
 9  
 
 10  
 import org.openpermis.policy.Obligation;
 11  
 
 12  
 
 13  
 /**
 14  
  * An operation specified by a string that should be performed by the PEP in conjunction with the 
 15  
  * enforcement of an authorization decision.
 16  
  * @since 0.3.0
 17  
  */
 18  
 public interface ObligationBean extends Obligation, PartBean {
 19  
         
 20  
         //---- Methods
 21  
         
 22  
         /**
 23  
          * Sets the text of this obligation.
 24  
          * @param text a {@link String}.
 25  
          * @since 0.3.0
 26  
          */
 27  
         public void setText (String text);
 28  
         
 29  
         //---- Obligation
 30  
         
 31  
         /**
 32  
          * Returns the text of this obligation.
 33  
          * @return the text of this obligation.
 34  
          * @since 0.3.0
 35  
          */
 36  
         public String getText ();
 37  
 
 38  
 
 39  
 }