1
2
3
4
5
6
7
8 package it.imolinfo.jbi4corba.schema;
9
10 import java.util.List;
11 import javax.wsdl.Definition;
12 import javax.wsdl.extensions.schema.Schema;
13
14
15
16
17
18
19 public class DefinitionAndSchema {
20
21
22
23
24 private List<Definition> definitions = null;
25
26
27
28
29 private List<Schema> schemas = null;
30
31
32
33
34 private boolean containsW3c = false;
35
36 public DefinitionAndSchema() {
37 containsW3c = false;
38 }
39
40 public DefinitionAndSchema(List<Definition> defList, List<Schema> schemList) {
41
42 definitions = defList;
43 schemas = schemList;
44 containsW3c = false;
45 }
46
47 public void setDefinition(List<Definition> definitions) {
48
49 this.definitions = definitions;
50 }
51
52
53
54
55
56
57 public List<Definition> getDefinitions() {
58 return definitions;
59 }
60
61 public void setSchemas(List<Schema> schemas) {
62 this.schemas = schemas;
63
64 }
65
66
67
68
69
70
71 public List<Schema> getSchemas() {
72 return schemas;
73 }
74
75 public boolean isContainsW3c() {
76 return containsW3c;
77 }
78
79 public void setContainsW3c(boolean containsW3c) {
80 this.containsW3c = containsW3c;
81 }
82
83 }