1
2
3
4
5
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 {
18 this.isCollection = isCollection;
19 this.isIgnored = isIgnored;
20 this.isReference = isReference;
21 }
22
23 public SinglePropertyLiteral(boolean isReference)
24 {
25 this(false, false, isReference);
26 }
27
28 public SinglePropertyLiteral()
29 {
30 this(false, false, false);
31 }
32
33 public boolean isCollection()
34 {
35 return isCollection;
36 }
37
38 public void setCollection()
39 {
40 this.isCollection = true;
41 }
42
43 public boolean isIgnored()
44 {
45 return isIgnored;
46 }
47
48 public void setIgnored()
49 {
50 this.isIgnored = true;
51 }
52
53 public boolean isReference()
54 {
55 return isReference;
56 }
57
58 public void setReference()
59 {
60 this.isReference = true;
61 }
62
63 }