| Total Complexity | 6 |
| Total Lines | 82 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class TConstraintType |
||
| 12 | { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\TDocumentationType $documentation |
||
| 16 | */ |
||
| 17 | private $documentation = null; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\TReferentialConstraintRoleElementType $principal |
||
| 21 | */ |
||
| 22 | private $principal = null; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @property \AlgoWeb\ODataMetadata\MetadataV3\edm\TReferentialConstraintRoleElementType $dependent |
||
| 26 | */ |
||
| 27 | private $dependent = null; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Gets as documentation |
||
| 31 | * |
||
| 32 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\TDocumentationType |
||
| 33 | */ |
||
| 34 | public function getDocumentation() |
||
| 35 | { |
||
| 36 | return $this->documentation; |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Sets a new documentation |
||
| 41 | * |
||
| 42 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TDocumentationType $documentation |
||
| 43 | * @return self |
||
| 44 | */ |
||
| 45 | public function setDocumentation(TDocumentationType $documentation) |
||
| 46 | { |
||
| 47 | $this->documentation = $documentation; |
||
| 48 | return $this; |
||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Gets as principal |
||
| 53 | * |
||
| 54 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\TReferentialConstraintRoleElementType |
||
| 55 | */ |
||
| 56 | public function getPrincipal() |
||
| 57 | { |
||
| 58 | return $this->principal; |
||
| 59 | } |
||
| 60 | |||
| 61 | /** |
||
| 62 | * Sets a new principal |
||
| 63 | * |
||
| 64 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TReferentialConstraintRoleElementType $principal |
||
| 65 | * @return self |
||
| 66 | */ |
||
| 67 | public function setPrincipal(TReferentialConstraintRoleElementType $principal) |
||
| 71 | } |
||
| 72 | |||
| 73 | /** |
||
| 74 | * Gets as dependent |
||
| 75 | * |
||
| 76 | * @return \AlgoWeb\ODataMetadata\MetadataV3\edm\TReferentialConstraintRoleElementType |
||
| 77 | */ |
||
| 78 | public function getDependent() |
||
| 79 | { |
||
| 80 | return $this->dependent; |
||
| 81 | } |
||
| 82 | |||
| 83 | /** |
||
| 84 | * Sets a new dependent |
||
| 85 | * |
||
| 86 | * @param \AlgoWeb\ODataMetadata\MetadataV3\edm\TReferentialConstraintRoleElementType $dependent |
||
| 87 | * @return self |
||
| 88 | */ |
||
| 89 | public function setDependent(TReferentialConstraintRoleElementType $dependent) |
||
| 93 | } |
||
| 94 | } |
||
| 95 |