Coverage Report - org.mule.config.spring.parsers.assembly.configuration.SinglePropertyLiteral
 
Classes in this File Line Coverage Branch Coverage Complexity
SinglePropertyLiteral
0%
0/18
N/A
1
 
 1  
 /*
 2  
  * $Id: SinglePropertyLiteral.java 10256 2008-01-08 15:20:25Z dfeist $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 
 11  
 package org.mule.config.spring.parsers.assembly.configuration;
 12  
 
 13  
 public class SinglePropertyLiteral implements SingleProperty
 14  
 {
 15  
 
 16  
     private boolean isCollection;
 17  
     private boolean isIgnored;
 18  
     private boolean isReference;
 19  
 
 20  
     public SinglePropertyLiteral(boolean isCollection, boolean isIgnored, boolean isReference)
 21  0
     {
 22  0
         this.isCollection = isCollection;
 23  0
         this.isIgnored = isIgnored;
 24  0
         this.isReference = isReference;
 25  0
     }
 26  
 
 27  
     public SinglePropertyLiteral(boolean isReference)
 28  
     {
 29  0
         this(false, false, isReference);
 30  0
     }
 31  
 
 32  
     public SinglePropertyLiteral()
 33  
     {
 34  0
         this(false, false, false);
 35  0
     }
 36  
 
 37  
     public boolean isCollection()
 38  
     {
 39  0
         return isCollection;
 40  
     }
 41  
 
 42  
     public void setCollection()
 43  
     {
 44  0
         this.isCollection = true;
 45  0
     }
 46  
 
 47  
     public boolean isIgnored()
 48  
     {
 49  0
         return isIgnored;
 50  
     }
 51  
 
 52  
     public void setIgnored()
 53  
     {
 54  0
         this.isIgnored = true;
 55  0
     }
 56  
 
 57  
     public boolean isReference()
 58  
     {
 59  0
         return isReference;
 60  
     }
 61  
 
 62  
     public void setReference()
 63  
     {
 64  0
         this.isReference = true;
 65  0
     }
 66  
 
 67  
 }