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 | 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 | |
} |