View Javadoc

1   package ch.qos.logback.core.joran.action;
2   
3   import ch.qos.logback.core.joran.spi.PropertySetter;
4   import ch.qos.logback.core.util.AggregationType;
5   
6   /**
7    * Lump together several fields for use by {@link NestedComplexPropertyIA}.
8    * 
9    * @author Ceki
10   */
11  public class IADataForComplexProperty {
12    final PropertySetter parentBean;
13    final AggregationType aggregationType;
14    final String complexPropertyName;
15    private Object nestedComplexProperty;
16    boolean inError;
17  
18    public IADataForComplexProperty(PropertySetter parentBean, AggregationType aggregationType, String complexPropertyName) {
19      this.parentBean = parentBean;
20      this.aggregationType = aggregationType;
21      this.complexPropertyName = complexPropertyName;
22    }
23  
24    public AggregationType getAggregationType() {
25      return aggregationType;
26    }
27  
28    public Object getNestedComplexProperty() {
29      return nestedComplexProperty;
30    }
31  
32    public String getComplexPropertyName() {
33      return complexPropertyName;
34    }
35  
36    public void setNestedComplexProperty(Object nestedComplexProperty) {
37      this.nestedComplexProperty = nestedComplexProperty;
38    }
39    
40    
41  }