01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */package org.apache.openejb.jee.oejb2;
17:
18: import java.util.ArrayList;
19: import java.util.List;
20: import javax.xml.bind.annotation.XmlAccessType;
21: import javax.xml.bind.annotation.XmlAccessorType;
22: import javax.xml.bind.annotation.XmlElement;
23: import javax.xml.bind.annotation.XmlType;
24:
25: /**
26: * <p>Java class for classFilterType complex type.
27: *
28: * <p>The following schema fragment specifies the expected content contained within this class.
29: *
30: * <pre>
31: * <complexType name="classFilterType">
32: * <complexContent>
33: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34: * <sequence>
35: * <element name="filter" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
36: * </sequence>
37: * </restriction>
38: * </complexContent>
39: * </complexType>
40: * </pre>
41: *
42: *
43: */
44: @XmlAccessorType(XmlAccessType.FIELD)
45: @XmlType(name="classFilterType",namespace="http://geronimo.apache.org/xml/ns/deployment-1.2",propOrder={"filter"})
46: public class ClassFilterType {
47:
48: @XmlElement(name="filter",namespace="http://geronimo.apache.org/xml/ns/deployment-1.2")
49: protected List<String> filter;
50:
51: /**
52: * Gets the value of the filter property.
53: *
54: * <p>
55: * This accessor method returns a reference to the live list,
56: * not a snapshot. Therefore any modification you make to the
57: * returned list will be present inside the JAXB object.
58: * This is why there is not a <CODE>set</CODE> method for the filter property.
59: *
60: * <p>
61: * For example, to add a new item, do as follows:
62: * <pre>
63: * getFilter().add(newItem);
64: * </pre>
65: *
66: *
67: * <p>
68: * Objects of the following type(s) are allowed in the list
69: * {@link String }
70: *
71: *
72: */
73: public List<String> getFilter() {
74: if (filter == null) {
75: filter = new ArrayList<String>();
76: }
77: return this.filter;
78: }
79:
80: }
|