01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one
03: * or more contributor license agreements. See the NOTICE file
04: * distributed with this work for additional information
05: * regarding copyright ownership. The ASF licenses this file
06: * to you under the Apache License, Version 2.0 (the
07: * "License"); you may not use this file except in compliance
08: * with the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing,
13: * software distributed under the License is distributed on an
14: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15: * KIND, either express or implied. See the License for the
16: * specific language governing permissions and limitations
17: * under the License.
18: */package org.apache.cxf.aegis.type;
19:
20: public class Configuration {
21: private boolean defaultExtensibleElements;
22:
23: private boolean defaultExtensibleAttributes;
24:
25: private boolean defaultNillable = true;
26:
27: private int defaultMinOccurs;
28:
29: public boolean isDefaultExtensibleAttributes() {
30: return defaultExtensibleAttributes;
31: }
32:
33: public void setDefaultExtensibleAttributes(
34: boolean defaultExtensibleAttributes) {
35: this .defaultExtensibleAttributes = defaultExtensibleAttributes;
36: }
37:
38: public boolean isDefaultExtensibleElements() {
39: return defaultExtensibleElements;
40: }
41:
42: public void setDefaultExtensibleElements(
43: boolean defaultExtensibleElements) {
44: this .defaultExtensibleElements = defaultExtensibleElements;
45: }
46:
47: public int getDefaultMinOccurs() {
48: return defaultMinOccurs;
49: }
50:
51: public void setDefaultMinOccurs(int defaultMinOccurs) {
52: this .defaultMinOccurs = defaultMinOccurs;
53: }
54:
55: public boolean isDefaultNillable() {
56: return defaultNillable;
57: }
58:
59: public void setDefaultNillable(boolean defaultNillable) {
60: this.defaultNillable = defaultNillable;
61: }
62: }
|