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