@@ 11-191 (lines=181) @@ | ||
8 | * |
|
9 | * XSD Type: TEntityType |
|
10 | */ |
|
11 | class TEntityTypeType |
|
12 | { |
|
13 | ||
14 | /** |
|
15 | * @property string $name |
|
16 | */ |
|
17 | private $name = null; |
|
18 | ||
19 | /** |
|
20 | * @property \MetadataV1\edm\ssdl\TDocumentationType $documentation |
|
21 | */ |
|
22 | private $documentation = null; |
|
23 | ||
24 | /** |
|
25 | * @property \MetadataV1\edm\ssdl\TPropertyRefType[] $key |
|
26 | */ |
|
27 | private $key = null; |
|
28 | ||
29 | /** |
|
30 | * @property \MetadataV1\edm\ssdl\TEntityPropertyType[] $property |
|
31 | */ |
|
32 | private $property = array( |
|
33 | ||
34 | ); |
|
35 | ||
36 | /** |
|
37 | * Gets as name |
|
38 | * |
|
39 | * @return string |
|
40 | */ |
|
41 | public function getName() |
|
42 | { |
|
43 | return $this->name; |
|
44 | } |
|
45 | ||
46 | /** |
|
47 | * Sets a new name |
|
48 | * |
|
49 | * @param string $name |
|
50 | * @return self |
|
51 | */ |
|
52 | public function setName($name) |
|
53 | { |
|
54 | $this->name = $name; |
|
55 | return $this; |
|
56 | } |
|
57 | ||
58 | /** |
|
59 | * Gets as documentation |
|
60 | * |
|
61 | * @return \MetadataV1\edm\ssdl\TDocumentationType |
|
62 | */ |
|
63 | public function getDocumentation() |
|
64 | { |
|
65 | return $this->documentation; |
|
66 | } |
|
67 | ||
68 | /** |
|
69 | * Sets a new documentation |
|
70 | * |
|
71 | * @param \MetadataV1\edm\ssdl\TDocumentationType $documentation |
|
72 | * @return self |
|
73 | */ |
|
74 | public function setDocumentation(\MetadataV1\edm\ssdl\TDocumentationType $documentation) |
|
75 | { |
|
76 | $this->documentation = $documentation; |
|
77 | return $this; |
|
78 | } |
|
79 | ||
80 | /** |
|
81 | * Adds as propertyRef |
|
82 | * |
|
83 | * @return self |
|
84 | * @param \MetadataV1\edm\ssdl\TPropertyRefType $propertyRef |
|
85 | */ |
|
86 | public function addToKey(\MetadataV1\edm\ssdl\TPropertyRefType $propertyRef) |
|
87 | { |
|
88 | $this->key[] = $propertyRef; |
|
89 | return $this; |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * isset key |
|
94 | * |
|
95 | * @param scalar $index |
|
96 | * @return boolean |
|
97 | */ |
|
98 | public function issetKey($index) |
|
99 | { |
|
100 | return isset($this->key[$index]); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * unset key |
|
105 | * |
|
106 | * @param scalar $index |
|
107 | * @return void |
|
108 | */ |
|
109 | public function unsetKey($index) |
|
110 | { |
|
111 | unset($this->key[$index]); |
|
112 | } |
|
113 | ||
114 | /** |
|
115 | * Gets as key |
|
116 | * |
|
117 | * @return \MetadataV1\edm\ssdl\TPropertyRefType[] |
|
118 | */ |
|
119 | public function getKey() |
|
120 | { |
|
121 | return $this->key; |
|
122 | } |
|
123 | ||
124 | /** |
|
125 | * Sets a new key |
|
126 | * |
|
127 | * @param \MetadataV1\edm\ssdl\TPropertyRefType[] $key |
|
128 | * @return self |
|
129 | */ |
|
130 | public function setKey(array $key) |
|
131 | { |
|
132 | $this->key = $key; |
|
133 | return $this; |
|
134 | } |
|
135 | ||
136 | /** |
|
137 | * Adds as property |
|
138 | * |
|
139 | * @return self |
|
140 | * @param \MetadataV1\edm\ssdl\TEntityPropertyType $property |
|
141 | */ |
|
142 | public function addToProperty(\MetadataV1\edm\ssdl\TEntityPropertyType $property) |
|
143 | { |
|
144 | $this->property[] = $property; |
|
145 | return $this; |
|
146 | } |
|
147 | ||
148 | /** |
|
149 | * isset property |
|
150 | * |
|
151 | * @param scalar $index |
|
152 | * @return boolean |
|
153 | */ |
|
154 | public function issetProperty($index) |
|
155 | { |
|
156 | return isset($this->property[$index]); |
|
157 | } |
|
158 | ||
159 | /** |
|
160 | * unset property |
|
161 | * |
|
162 | * @param scalar $index |
|
163 | * @return void |
|
164 | */ |
|
165 | public function unsetProperty($index) |
|
166 | { |
|
167 | unset($this->property[$index]); |
|
168 | } |
|
169 | ||
170 | /** |
|
171 | * Gets as property |
|
172 | * |
|
173 | * @return \MetadataV1\edm\ssdl\TEntityPropertyType[] |
|
174 | */ |
|
175 | public function getProperty() |
|
176 | { |
|
177 | return $this->property; |
|
178 | } |
|
179 | ||
180 | /** |
|
181 | * Sets a new property |
|
182 | * |
|
183 | * @param \MetadataV1\edm\ssdl\TEntityPropertyType[] $property |
|
184 | * @return self |
|
185 | */ |
|
186 | public function setProperty(array $property) |
|
187 | { |
|
188 | $this->property = $property; |
|
189 | return $this; |
|
190 | } |
|
191 | } |
|
192 |
@@ 8-194 (lines=187) @@ | ||
5 | /** |
|
6 | * Class representing EntityContainer |
|
7 | */ |
|
8 | class EntityContainer |
|
9 | { |
|
10 | ||
11 | /** |
|
12 | * @property string $name |
|
13 | */ |
|
14 | private $name = null; |
|
15 | ||
16 | /** |
|
17 | * @property \MetadataV2\edm\ssdl\TDocumentationType $documentation |
|
18 | */ |
|
19 | private $documentation = null; |
|
20 | ||
21 | /** |
|
22 | * @property \MetadataV2\edm\ssdl\EntityContainer\EntitySetAnonymousType[] |
|
23 | * $entitySet |
|
24 | */ |
|
25 | private $entitySet = array( |
|
26 | ||
27 | ); |
|
28 | ||
29 | /** |
|
30 | * @property \MetadataV2\edm\ssdl\EntityContainer\AssociationSetAnonymousType[] |
|
31 | * $associationSet |
|
32 | */ |
|
33 | private $associationSet = array( |
|
34 | ||
35 | ); |
|
36 | ||
37 | /** |
|
38 | * Gets as name |
|
39 | * |
|
40 | * @return string |
|
41 | */ |
|
42 | public function getName() |
|
43 | { |
|
44 | return $this->name; |
|
45 | } |
|
46 | ||
47 | /** |
|
48 | * Sets a new name |
|
49 | * |
|
50 | * @param string $name |
|
51 | * @return self |
|
52 | */ |
|
53 | public function setName($name) |
|
54 | { |
|
55 | $this->name = $name; |
|
56 | return $this; |
|
57 | } |
|
58 | ||
59 | /** |
|
60 | * Gets as documentation |
|
61 | * |
|
62 | * @return \MetadataV2\edm\ssdl\TDocumentationType |
|
63 | */ |
|
64 | public function getDocumentation() |
|
65 | { |
|
66 | return $this->documentation; |
|
67 | } |
|
68 | ||
69 | /** |
|
70 | * Sets a new documentation |
|
71 | * |
|
72 | * @param \MetadataV2\edm\ssdl\TDocumentationType $documentation |
|
73 | * @return self |
|
74 | */ |
|
75 | public function setDocumentation(\MetadataV2\edm\ssdl\TDocumentationType $documentation) |
|
76 | { |
|
77 | $this->documentation = $documentation; |
|
78 | return $this; |
|
79 | } |
|
80 | ||
81 | /** |
|
82 | * Adds as entitySet |
|
83 | * |
|
84 | * @return self |
|
85 | * @param \MetadataV2\edm\ssdl\EntityContainer\EntitySetAnonymousType $entitySet |
|
86 | */ |
|
87 | public function addToEntitySet(\MetadataV2\edm\ssdl\EntityContainer\EntitySetAnonymousType $entitySet) |
|
88 | { |
|
89 | $this->entitySet[] = $entitySet; |
|
90 | return $this; |
|
91 | } |
|
92 | ||
93 | /** |
|
94 | * isset entitySet |
|
95 | * |
|
96 | * @param scalar $index |
|
97 | * @return boolean |
|
98 | */ |
|
99 | public function issetEntitySet($index) |
|
100 | { |
|
101 | return isset($this->entitySet[$index]); |
|
102 | } |
|
103 | ||
104 | /** |
|
105 | * unset entitySet |
|
106 | * |
|
107 | * @param scalar $index |
|
108 | * @return void |
|
109 | */ |
|
110 | public function unsetEntitySet($index) |
|
111 | { |
|
112 | unset($this->entitySet[$index]); |
|
113 | } |
|
114 | ||
115 | /** |
|
116 | * Gets as entitySet |
|
117 | * |
|
118 | * @return \MetadataV2\edm\ssdl\EntityContainer\EntitySetAnonymousType[] |
|
119 | */ |
|
120 | public function getEntitySet() |
|
121 | { |
|
122 | return $this->entitySet; |
|
123 | } |
|
124 | ||
125 | /** |
|
126 | * Sets a new entitySet |
|
127 | * |
|
128 | * @param \MetadataV2\edm\ssdl\EntityContainer\EntitySetAnonymousType[] $entitySet |
|
129 | * @return self |
|
130 | */ |
|
131 | public function setEntitySet(array $entitySet) |
|
132 | { |
|
133 | $this->entitySet = $entitySet; |
|
134 | return $this; |
|
135 | } |
|
136 | ||
137 | /** |
|
138 | * Adds as associationSet |
|
139 | * |
|
140 | * @return self |
|
141 | * @param \MetadataV2\edm\ssdl\EntityContainer\AssociationSetAnonymousType |
|
142 | * $associationSet |
|
143 | */ |
|
144 | public function addToAssociationSet(\MetadataV2\edm\ssdl\EntityContainer\AssociationSetAnonymousType $associationSet) |
|
145 | { |
|
146 | $this->associationSet[] = $associationSet; |
|
147 | return $this; |
|
148 | } |
|
149 | ||
150 | /** |
|
151 | * isset associationSet |
|
152 | * |
|
153 | * @param scalar $index |
|
154 | * @return boolean |
|
155 | */ |
|
156 | public function issetAssociationSet($index) |
|
157 | { |
|
158 | return isset($this->associationSet[$index]); |
|
159 | } |
|
160 | ||
161 | /** |
|
162 | * unset associationSet |
|
163 | * |
|
164 | * @param scalar $index |
|
165 | * @return void |
|
166 | */ |
|
167 | public function unsetAssociationSet($index) |
|
168 | { |
|
169 | unset($this->associationSet[$index]); |
|
170 | } |
|
171 | ||
172 | /** |
|
173 | * Gets as associationSet |
|
174 | * |
|
175 | * @return \MetadataV2\edm\ssdl\EntityContainer\AssociationSetAnonymousType[] |
|
176 | */ |
|
177 | public function getAssociationSet() |
|
178 | { |
|
179 | return $this->associationSet; |
|
180 | } |
|
181 | ||
182 | /** |
|
183 | * Sets a new associationSet |
|
184 | * |
|
185 | * @param \MetadataV2\edm\ssdl\EntityContainer\AssociationSetAnonymousType[] |
|
186 | * $associationSet |
|
187 | * @return self |
|
188 | */ |
|
189 | public function setAssociationSet(array $associationSet) |
|
190 | { |
|
191 | $this->associationSet = $associationSet; |
|
192 | return $this; |
|
193 | } |
|
194 | } |
|
195 |
@@ 11-191 (lines=181) @@ | ||
8 | * |
|
9 | * XSD Type: TEntityType |
|
10 | */ |
|
11 | class TEntityTypeType |
|
12 | { |
|
13 | ||
14 | /** |
|
15 | * @property string $name |
|
16 | */ |
|
17 | private $name = null; |
|
18 | ||
19 | /** |
|
20 | * @property \MetadataV2\edm\ssdl\TDocumentationType $documentation |
|
21 | */ |
|
22 | private $documentation = null; |
|
23 | ||
24 | /** |
|
25 | * @property \MetadataV2\edm\ssdl\TPropertyRefType[] $key |
|
26 | */ |
|
27 | private $key = null; |
|
28 | ||
29 | /** |
|
30 | * @property \MetadataV2\edm\ssdl\TEntityPropertyType[] $property |
|
31 | */ |
|
32 | private $property = array( |
|
33 | ||
34 | ); |
|
35 | ||
36 | /** |
|
37 | * Gets as name |
|
38 | * |
|
39 | * @return string |
|
40 | */ |
|
41 | public function getName() |
|
42 | { |
|
43 | return $this->name; |
|
44 | } |
|
45 | ||
46 | /** |
|
47 | * Sets a new name |
|
48 | * |
|
49 | * @param string $name |
|
50 | * @return self |
|
51 | */ |
|
52 | public function setName($name) |
|
53 | { |
|
54 | $this->name = $name; |
|
55 | return $this; |
|
56 | } |
|
57 | ||
58 | /** |
|
59 | * Gets as documentation |
|
60 | * |
|
61 | * @return \MetadataV2\edm\ssdl\TDocumentationType |
|
62 | */ |
|
63 | public function getDocumentation() |
|
64 | { |
|
65 | return $this->documentation; |
|
66 | } |
|
67 | ||
68 | /** |
|
69 | * Sets a new documentation |
|
70 | * |
|
71 | * @param \MetadataV2\edm\ssdl\TDocumentationType $documentation |
|
72 | * @return self |
|
73 | */ |
|
74 | public function setDocumentation(\MetadataV2\edm\ssdl\TDocumentationType $documentation) |
|
75 | { |
|
76 | $this->documentation = $documentation; |
|
77 | return $this; |
|
78 | } |
|
79 | ||
80 | /** |
|
81 | * Adds as propertyRef |
|
82 | * |
|
83 | * @return self |
|
84 | * @param \MetadataV2\edm\ssdl\TPropertyRefType $propertyRef |
|
85 | */ |
|
86 | public function addToKey(\MetadataV2\edm\ssdl\TPropertyRefType $propertyRef) |
|
87 | { |
|
88 | $this->key[] = $propertyRef; |
|
89 | return $this; |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * isset key |
|
94 | * |
|
95 | * @param scalar $index |
|
96 | * @return boolean |
|
97 | */ |
|
98 | public function issetKey($index) |
|
99 | { |
|
100 | return isset($this->key[$index]); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * unset key |
|
105 | * |
|
106 | * @param scalar $index |
|
107 | * @return void |
|
108 | */ |
|
109 | public function unsetKey($index) |
|
110 | { |
|
111 | unset($this->key[$index]); |
|
112 | } |
|
113 | ||
114 | /** |
|
115 | * Gets as key |
|
116 | * |
|
117 | * @return \MetadataV2\edm\ssdl\TPropertyRefType[] |
|
118 | */ |
|
119 | public function getKey() |
|
120 | { |
|
121 | return $this->key; |
|
122 | } |
|
123 | ||
124 | /** |
|
125 | * Sets a new key |
|
126 | * |
|
127 | * @param \MetadataV2\edm\ssdl\TPropertyRefType[] $key |
|
128 | * @return self |
|
129 | */ |
|
130 | public function setKey(array $key) |
|
131 | { |
|
132 | $this->key = $key; |
|
133 | return $this; |
|
134 | } |
|
135 | ||
136 | /** |
|
137 | * Adds as property |
|
138 | * |
|
139 | * @return self |
|
140 | * @param \MetadataV2\edm\ssdl\TEntityPropertyType $property |
|
141 | */ |
|
142 | public function addToProperty(\MetadataV2\edm\ssdl\TEntityPropertyType $property) |
|
143 | { |
|
144 | $this->property[] = $property; |
|
145 | return $this; |
|
146 | } |
|
147 | ||
148 | /** |
|
149 | * isset property |
|
150 | * |
|
151 | * @param scalar $index |
|
152 | * @return boolean |
|
153 | */ |
|
154 | public function issetProperty($index) |
|
155 | { |
|
156 | return isset($this->property[$index]); |
|
157 | } |
|
158 | ||
159 | /** |
|
160 | * unset property |
|
161 | * |
|
162 | * @param scalar $index |
|
163 | * @return void |
|
164 | */ |
|
165 | public function unsetProperty($index) |
|
166 | { |
|
167 | unset($this->property[$index]); |
|
168 | } |
|
169 | ||
170 | /** |
|
171 | * Gets as property |
|
172 | * |
|
173 | * @return \MetadataV2\edm\ssdl\TEntityPropertyType[] |
|
174 | */ |
|
175 | public function getProperty() |
|
176 | { |
|
177 | return $this->property; |
|
178 | } |
|
179 | ||
180 | /** |
|
181 | * Sets a new property |
|
182 | * |
|
183 | * @param \MetadataV2\edm\ssdl\TEntityPropertyType[] $property |
|
184 | * @return self |
|
185 | */ |
|
186 | public function setProperty(array $property) |
|
187 | { |
|
188 | $this->property = $property; |
|
189 | return $this; |
|
190 | } |
|
191 | } |
|
192 |
@@ 11-191 (lines=181) @@ | ||
8 | * |
|
9 | * XSD Type: TEntityType |
|
10 | */ |
|
11 | class TEntityTypeType |
|
12 | { |
|
13 | ||
14 | /** |
|
15 | * @property string $name |
|
16 | */ |
|
17 | private $name = null; |
|
18 | ||
19 | /** |
|
20 | * @property \MetadataV3\edm\ssdl\TDocumentationType $documentation |
|
21 | */ |
|
22 | private $documentation = null; |
|
23 | ||
24 | /** |
|
25 | * @property \MetadataV3\edm\ssdl\TPropertyRefType[] $key |
|
26 | */ |
|
27 | private $key = null; |
|
28 | ||
29 | /** |
|
30 | * @property \MetadataV3\edm\ssdl\TEntityPropertyType[] $property |
|
31 | */ |
|
32 | private $property = array( |
|
33 | ||
34 | ); |
|
35 | ||
36 | /** |
|
37 | * Gets as name |
|
38 | * |
|
39 | * @return string |
|
40 | */ |
|
41 | public function getName() |
|
42 | { |
|
43 | return $this->name; |
|
44 | } |
|
45 | ||
46 | /** |
|
47 | * Sets a new name |
|
48 | * |
|
49 | * @param string $name |
|
50 | * @return self |
|
51 | */ |
|
52 | public function setName($name) |
|
53 | { |
|
54 | $this->name = $name; |
|
55 | return $this; |
|
56 | } |
|
57 | ||
58 | /** |
|
59 | * Gets as documentation |
|
60 | * |
|
61 | * @return \MetadataV3\edm\ssdl\TDocumentationType |
|
62 | */ |
|
63 | public function getDocumentation() |
|
64 | { |
|
65 | return $this->documentation; |
|
66 | } |
|
67 | ||
68 | /** |
|
69 | * Sets a new documentation |
|
70 | * |
|
71 | * @param \MetadataV3\edm\ssdl\TDocumentationType $documentation |
|
72 | * @return self |
|
73 | */ |
|
74 | public function setDocumentation(\MetadataV3\edm\ssdl\TDocumentationType $documentation) |
|
75 | { |
|
76 | $this->documentation = $documentation; |
|
77 | return $this; |
|
78 | } |
|
79 | ||
80 | /** |
|
81 | * Adds as propertyRef |
|
82 | * |
|
83 | * @return self |
|
84 | * @param \MetadataV3\edm\ssdl\TPropertyRefType $propertyRef |
|
85 | */ |
|
86 | public function addToKey(\MetadataV3\edm\ssdl\TPropertyRefType $propertyRef) |
|
87 | { |
|
88 | $this->key[] = $propertyRef; |
|
89 | return $this; |
|
90 | } |
|
91 | ||
92 | /** |
|
93 | * isset key |
|
94 | * |
|
95 | * @param scalar $index |
|
96 | * @return boolean |
|
97 | */ |
|
98 | public function issetKey($index) |
|
99 | { |
|
100 | return isset($this->key[$index]); |
|
101 | } |
|
102 | ||
103 | /** |
|
104 | * unset key |
|
105 | * |
|
106 | * @param scalar $index |
|
107 | * @return void |
|
108 | */ |
|
109 | public function unsetKey($index) |
|
110 | { |
|
111 | unset($this->key[$index]); |
|
112 | } |
|
113 | ||
114 | /** |
|
115 | * Gets as key |
|
116 | * |
|
117 | * @return \MetadataV3\edm\ssdl\TPropertyRefType[] |
|
118 | */ |
|
119 | public function getKey() |
|
120 | { |
|
121 | return $this->key; |
|
122 | } |
|
123 | ||
124 | /** |
|
125 | * Sets a new key |
|
126 | * |
|
127 | * @param \MetadataV3\edm\ssdl\TPropertyRefType[] $key |
|
128 | * @return self |
|
129 | */ |
|
130 | public function setKey(array $key) |
|
131 | { |
|
132 | $this->key = $key; |
|
133 | return $this; |
|
134 | } |
|
135 | ||
136 | /** |
|
137 | * Adds as property |
|
138 | * |
|
139 | * @return self |
|
140 | * @param \MetadataV3\edm\ssdl\TEntityPropertyType $property |
|
141 | */ |
|
142 | public function addToProperty(\MetadataV3\edm\ssdl\TEntityPropertyType $property) |
|
143 | { |
|
144 | $this->property[] = $property; |
|
145 | return $this; |
|
146 | } |
|
147 | ||
148 | /** |
|
149 | * isset property |
|
150 | * |
|
151 | * @param scalar $index |
|
152 | * @return boolean |
|
153 | */ |
|
154 | public function issetProperty($index) |
|
155 | { |
|
156 | return isset($this->property[$index]); |
|
157 | } |
|
158 | ||
159 | /** |
|
160 | * unset property |
|
161 | * |
|
162 | * @param scalar $index |
|
163 | * @return void |
|
164 | */ |
|
165 | public function unsetProperty($index) |
|
166 | { |
|
167 | unset($this->property[$index]); |
|
168 | } |
|
169 | ||
170 | /** |
|
171 | * Gets as property |
|
172 | * |
|
173 | * @return \MetadataV3\edm\ssdl\TEntityPropertyType[] |
|
174 | */ |
|
175 | public function getProperty() |
|
176 | { |
|
177 | return $this->property; |
|
178 | } |
|
179 | ||
180 | /** |
|
181 | * Sets a new property |
|
182 | * |
|
183 | * @param \MetadataV3\edm\ssdl\TEntityPropertyType[] $property |
|
184 | * @return self |
|
185 | */ |
|
186 | public function setProperty(array $property) |
|
187 | { |
|
188 | $this->property = $property; |
|
189 | return $this; |
|
190 | } |
|
191 | } |
|
192 |