1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
package org.apache.myfaces.config.impl.digester.elements; |
20 | |
|
21 | |
import java.io.Serializable; |
22 | |
import java.util.ArrayList; |
23 | |
import java.util.Collection; |
24 | |
import java.util.List; |
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | 0 | public class BehaviorImpl extends org.apache.myfaces.config.element.Behavior implements Serializable |
30 | |
{ |
31 | |
private String behaviorClass; |
32 | |
private String behaviorId; |
33 | |
|
34 | 0 | private List<AttributeImpl> attributes = new ArrayList<AttributeImpl>(); |
35 | 0 | private List<PropertyImpl> properties = new ArrayList<PropertyImpl>(); |
36 | |
|
37 | |
|
38 | |
|
39 | |
public String getBehaviorClass() |
40 | |
{ |
41 | 0 | return this.behaviorClass; |
42 | |
} |
43 | |
|
44 | |
public String getBehaviorId() |
45 | |
{ |
46 | 0 | return this.behaviorId; |
47 | |
} |
48 | |
|
49 | |
public void setBehaviorClass (String behaviorClass) |
50 | |
{ |
51 | 0 | this.behaviorClass = behaviorClass; |
52 | 0 | } |
53 | |
|
54 | |
public void setBehaviorId (String behaviorId) |
55 | |
{ |
56 | 0 | this.behaviorId = behaviorId; |
57 | 0 | } |
58 | |
|
59 | |
public Collection<AttributeImpl> getAttributes () |
60 | |
{ |
61 | 0 | return attributes; |
62 | |
} |
63 | |
|
64 | |
public void addAttribute (AttributeImpl attribute) |
65 | |
{ |
66 | 0 | attributes.add (attribute); |
67 | 0 | } |
68 | |
|
69 | |
public Collection<PropertyImpl> getProperties () |
70 | |
{ |
71 | 0 | return properties; |
72 | |
} |
73 | |
|
74 | |
public void addProperty (PropertyImpl property) |
75 | |
{ |
76 | 0 | properties.add (property); |
77 | 0 | } |
78 | |
} |