1 | <?php |
||
11 | class AssociationSetAnonymousType extends IsOK |
||
12 | { |
||
13 | use GEmptyElementExtensibilityTrait; |
||
14 | /** |
||
15 | * @property string $name |
||
16 | */ |
||
17 | private $name = null; |
||
18 | |||
19 | /** |
||
20 | * @property string $association |
||
21 | */ |
||
22 | private $association = null; |
||
23 | |||
24 | /** |
||
25 | * @property |
||
26 | * \AlgoWeb\ODataMetadata\MetadataV3\edm\ssdl\EntityContainer\AssociationSetAnonymousType\EndAnonymousType[] |
||
27 | * $end |
||
28 | */ |
||
29 | private $end = []; |
||
30 | |||
31 | /** |
||
32 | * Gets as name |
||
33 | * |
||
34 | * @return string |
||
35 | */ |
||
36 | public function getName() |
||
40 | |||
41 | /** |
||
42 | * Sets a new name |
||
43 | * |
||
44 | * @param string $name |
||
45 | * @return self |
||
46 | */ |
||
47 | public function setName($name) |
||
52 | |||
53 | /** |
||
54 | * Gets as association |
||
55 | * |
||
56 | * @return string |
||
57 | */ |
||
58 | public function getAssociation() |
||
62 | |||
63 | /** |
||
64 | * Sets a new association |
||
65 | * |
||
66 | * @param string $association |
||
67 | * @return self |
||
68 | */ |
||
69 | public function setAssociation($association) |
||
74 | |||
75 | /** |
||
76 | * Adds as end |
||
77 | * |
||
78 | * @return self |
||
79 | * @param |
||
80 | * \AlgoWeb\ODataMetadata\MetadataV3\edm\ssdl\EntityContainer\AssociationSetAnonymousType\EndAnonymousType |
||
81 | * $end |
||
82 | */ |
||
83 | public function addToEnd(EntityContainer\AssociationSetAnonymousType\EndAnonymousType $end) |
||
88 | |||
89 | /** |
||
90 | * isset end |
||
91 | * |
||
92 | * @param scalar $index |
||
93 | * @return boolean |
||
94 | */ |
||
95 | public function issetEnd($index) |
||
99 | |||
100 | /** |
||
101 | * unset end |
||
102 | * |
||
103 | * @param scalar $index |
||
104 | * @return void |
||
105 | */ |
||
106 | public function unsetEnd($index) |
||
110 | |||
111 | /** |
||
112 | * Gets as end |
||
113 | * |
||
114 | * @return |
||
115 | * \AlgoWeb\ODataMetadata\MetadataV3\edm\ssdl\EntityContainer\AssociationSetAnonymousType\EndAnonymousType[] |
||
116 | */ |
||
117 | public function getEnd() |
||
121 | |||
122 | /** |
||
123 | * Sets a new end |
||
124 | * |
||
125 | * @param |
||
126 | * \AlgoWeb\ODataMetadata\MetadataV3\edm\ssdl\EntityContainer\AssociationSetAnonymousType\EndAnonymousType[] |
||
127 | * $end |
||
128 | * @return self |
||
129 | */ |
||
130 | public function setEnd(array $end) |
||
135 | |||
136 | public function isOK(&$msg = null) |
||
143 | } |
||
144 |