1 | <?php |
||
14 | class TConstraintType extends IsOK |
||
15 | { |
||
16 | use IsOKToolboxTrait; |
||
17 | /** |
||
18 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\TDocumentationType $documentation |
||
19 | */ |
||
20 | private $documentation = null; |
||
21 | |||
22 | /** |
||
23 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\TReferentialConstraintRoleElementType $principal |
||
24 | */ |
||
25 | private $principal = null; |
||
26 | |||
27 | /** |
||
28 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\TReferentialConstraintRoleElementType $dependent |
||
29 | */ |
||
30 | private $dependent = null; |
||
31 | |||
32 | /** |
||
33 | * Gets as documentation |
||
34 | * |
||
35 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\TDocumentationType |
||
36 | */ |
||
37 | public function getDocumentation() |
||
41 | |||
42 | /** |
||
43 | * Sets a new documentation |
||
44 | * |
||
45 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TDocumentationType $documentation |
||
46 | * @return self |
||
47 | */ |
||
48 | public function setDocumentation(TDocumentationType $documentation) |
||
53 | |||
54 | /** |
||
55 | * Gets as principal |
||
56 | * |
||
57 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\TReferentialConstraintRoleElementType |
||
58 | */ |
||
59 | public function getPrincipal() |
||
63 | |||
64 | /** |
||
65 | * Sets a new principal |
||
66 | * |
||
67 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TReferentialConstraintRoleElementType $principal |
||
68 | * @return self |
||
69 | */ |
||
70 | public function setPrincipal(TReferentialConstraintRoleElementType $principal) |
||
75 | |||
76 | /** |
||
77 | * Gets as dependent |
||
78 | * |
||
79 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\TReferentialConstraintRoleElementType |
||
80 | */ |
||
81 | public function getDependent() |
||
85 | |||
86 | /** |
||
87 | * Sets a new dependent |
||
88 | * |
||
89 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TReferentialConstraintRoleElementType $dependent |
||
90 | * @return self |
||
91 | */ |
||
92 | public function setDependent(TReferentialConstraintRoleElementType $dependent) |
||
97 | |||
98 | public function isOK(&$msg = null) |
||
112 | } |
||
113 |