1 | <?php |
||
14 | class EndAnonymousType extends IsOK |
||
15 | { |
||
16 | //1. The number of Ends has to match with ones defined in AssociationType |
||
17 | //2. Value for attribute Name should match the defined ones and EntitySet should be of the |
||
18 | // defined Entity Type in AssociationType |
||
19 | |||
20 | use IsOKToolboxTrait, TSimpleIdentifierTrait, GEmptyElementExtensibilityTrait; |
||
21 | /** |
||
22 | * @property string $role |
||
23 | */ |
||
24 | private $role = null; |
||
25 | |||
26 | /** |
||
27 | * @property string $entitySet |
||
28 | */ |
||
29 | private $entitySet = null; |
||
30 | |||
31 | /** |
||
32 | * Gets as role |
||
33 | * |
||
34 | * @return string |
||
35 | */ |
||
36 | public function getRole() |
||
40 | |||
41 | /** |
||
42 | * Sets a new role |
||
43 | * |
||
44 | * @param string $role |
||
45 | * @return self |
||
46 | */ |
||
47 | public function setRole($role) |
||
52 | |||
53 | /** |
||
54 | * Gets as entitySet |
||
55 | * |
||
56 | * @return string |
||
57 | */ |
||
58 | public function getEntitySet() |
||
62 | |||
63 | /** |
||
64 | * Sets a new entitySet |
||
65 | * |
||
66 | * @param string $entitySet |
||
67 | * @return self |
||
68 | */ |
||
69 | public function setEntitySet($entitySet) |
||
74 | |||
75 | public function isOK(&$msg = null) |
||
91 | } |
||
92 |