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  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 3  
  * The software in this package is published under the terms of the CPAL v1.0
 4  
  * license, a copy of which has been included with this distribution in the
 5  
  * LICENSE.txt file.
 6  
  */
 7  
 package org.mule.config.spring.parsers.assembly.configuration;
 8  
 
 9  
 public class SinglePropertyLiteral implements SingleProperty
 10  
 {
 11  
 
 12  
     private boolean isCollection;
 13  
     private boolean isIgnored;
 14  
     private boolean isReference;
 15  
 
 16  
     public SinglePropertyLiteral(boolean isCollection, boolean isIgnored, boolean isReference)
 17  0
     {
 18  0
         this.isCollection = isCollection;
 19  0
         this.isIgnored = isIgnored;
 20  0
         this.isReference = isReference;
 21  0
     }
 22  
 
 23  
     public SinglePropertyLiteral(boolean isReference)
 24  
     {
 25  0
         this(false, false, isReference);
 26  0
     }
 27  
 
 28  
     public SinglePropertyLiteral()
 29  
     {
 30  0
         this(false, false, false);
 31  0
     }
 32  
 
 33  
     public boolean isCollection()
 34  
     {
 35  0
         return isCollection;
 36  
     }
 37  
 
 38  
     public void setCollection()
 39  
     {
 40  0
         this.isCollection = true;
 41  0
     }
 42  
 
 43  
     public boolean isIgnored()
 44  
     {
 45  0
         return isIgnored;
 46  
     }
 47  
 
 48  
     public void setIgnored()
 49  
     {
 50  0
         this.isIgnored = true;
 51  0
     }
 52  
 
 53  
     public boolean isReference()
 54  
     {
 55  0
         return isReference;
 56  
     }
 57  
 
 58  
     public void setReference()
 59  
     {
 60  0
         this.isReference = true;
 61  0
     }
 62  
 
 63  
 }