1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace Ews\StructType; |
4
|
|
|
|
5
|
|
|
use \WsdlToPhp\PackageBase\AbstractStructBase; |
6
|
|
|
|
7
|
|
|
/** |
8
|
|
|
* This class stands for TwoOperandExpressionType StructType |
9
|
|
|
* @package Ews |
10
|
|
|
* @subpackage Structs |
11
|
|
|
* @author WsdlToPhp <[email protected]> |
12
|
|
|
*/ |
13
|
|
|
abstract class EwsTwoOperandExpressionType extends EwsSearchExpressionType |
14
|
|
|
{ |
15
|
|
|
/** |
16
|
|
|
* The FieldURIOrConstant |
17
|
|
|
* @var \Ews\StructType\EwsFieldURIOrConstantType |
18
|
|
|
*/ |
19
|
|
|
public $FieldURIOrConstant; |
20
|
|
|
/** |
21
|
|
|
* The FieldURI |
22
|
|
|
* @var \Ews\StructType\EwsPathToUnindexedFieldType |
23
|
|
|
*/ |
24
|
|
|
public $FieldURI; |
25
|
|
|
/** |
26
|
|
|
* The IndexedFieldURI |
27
|
|
|
* @var \Ews\StructType\EwsPathToIndexedFieldType |
28
|
|
|
*/ |
29
|
|
|
public $IndexedFieldURI; |
30
|
|
|
/** |
31
|
|
|
* The ExtendedFieldURI |
32
|
|
|
* @var \Ews\StructType\EwsPathToExtendedFieldType |
33
|
|
|
*/ |
34
|
|
|
public $ExtendedFieldURI; |
35
|
|
|
/** |
36
|
|
|
* Constructor method for TwoOperandExpressionType |
37
|
|
|
* @uses EwsTwoOperandExpressionType::setFieldURIOrConstant() |
38
|
|
|
* @uses EwsTwoOperandExpressionType::setFieldURI() |
39
|
|
|
* @uses EwsTwoOperandExpressionType::setIndexedFieldURI() |
40
|
|
|
* @uses EwsTwoOperandExpressionType::setExtendedFieldURI() |
41
|
|
|
* @param \Ews\StructType\EwsFieldURIOrConstantType $fieldURIOrConstant |
42
|
|
|
* @param \Ews\StructType\EwsPathToUnindexedFieldType $fieldURI |
43
|
|
|
* @param \Ews\StructType\EwsPathToIndexedFieldType $indexedFieldURI |
44
|
|
|
* @param \Ews\StructType\EwsPathToExtendedFieldType $extendedFieldURI |
45
|
|
|
*/ |
46
|
|
|
public function __construct(\Ews\StructType\EwsFieldURIOrConstantType $fieldURIOrConstant = null, \Ews\StructType\EwsPathToUnindexedFieldType $fieldURI = null, \Ews\StructType\EwsPathToIndexedFieldType $indexedFieldURI = null, \Ews\StructType\EwsPathToExtendedFieldType $extendedFieldURI = null) |
47
|
|
|
{ |
48
|
|
|
$this |
49
|
|
|
->setFieldURIOrConstant($fieldURIOrConstant) |
50
|
|
|
->setFieldURI($fieldURI) |
51
|
|
|
->setIndexedFieldURI($indexedFieldURI) |
52
|
|
|
->setExtendedFieldURI($extendedFieldURI); |
53
|
|
|
} |
54
|
|
|
/** |
55
|
|
|
* Get FieldURIOrConstant value |
56
|
|
|
* @return \Ews\StructType\EwsFieldURIOrConstantType|null |
57
|
|
|
*/ |
58
|
|
|
public function getFieldURIOrConstant() |
59
|
|
|
{ |
60
|
|
|
return $this->FieldURIOrConstant; |
61
|
|
|
} |
62
|
|
|
/** |
63
|
|
|
* Set FieldURIOrConstant value |
64
|
|
|
* @param \Ews\StructType\EwsFieldURIOrConstantType $fieldURIOrConstant |
65
|
|
|
* @return \Ews\StructType\EwsTwoOperandExpressionType |
66
|
|
|
*/ |
67
|
|
|
public function setFieldURIOrConstant(\Ews\StructType\EwsFieldURIOrConstantType $fieldURIOrConstant = null) |
68
|
|
|
{ |
69
|
|
|
$this->FieldURIOrConstant = $fieldURIOrConstant; |
70
|
|
|
return $this; |
71
|
|
|
} |
72
|
|
|
/** |
73
|
|
|
* Get FieldURI value |
74
|
|
|
* @return \Ews\StructType\EwsPathToUnindexedFieldType|null |
75
|
|
|
*/ |
76
|
|
|
public function getFieldURI() |
77
|
|
|
{ |
78
|
|
|
return $this->FieldURI; |
79
|
|
|
} |
80
|
|
|
/** |
81
|
|
|
* Set FieldURI value |
82
|
|
|
* @param \Ews\StructType\EwsPathToUnindexedFieldType $fieldURI |
83
|
|
|
* @return \Ews\StructType\EwsTwoOperandExpressionType |
84
|
|
|
*/ |
85
|
|
|
public function setFieldURI(\Ews\StructType\EwsPathToUnindexedFieldType $fieldURI = null) |
86
|
|
|
{ |
87
|
|
|
$this->FieldURI = $fieldURI; |
88
|
|
|
return $this; |
89
|
|
|
} |
90
|
|
|
/** |
91
|
|
|
* Get IndexedFieldURI value |
92
|
|
|
* @return \Ews\StructType\EwsPathToIndexedFieldType|null |
93
|
|
|
*/ |
94
|
|
|
public function getIndexedFieldURI() |
95
|
|
|
{ |
96
|
|
|
return $this->IndexedFieldURI; |
97
|
|
|
} |
98
|
|
|
/** |
99
|
|
|
* Set IndexedFieldURI value |
100
|
|
|
* @param \Ews\StructType\EwsPathToIndexedFieldType $indexedFieldURI |
101
|
|
|
* @return \Ews\StructType\EwsTwoOperandExpressionType |
102
|
|
|
*/ |
103
|
|
|
public function setIndexedFieldURI(\Ews\StructType\EwsPathToIndexedFieldType $indexedFieldURI = null) |
104
|
|
|
{ |
105
|
|
|
$this->IndexedFieldURI = $indexedFieldURI; |
106
|
|
|
return $this; |
107
|
|
|
} |
108
|
|
|
/** |
109
|
|
|
* Get ExtendedFieldURI value |
110
|
|
|
* @return \Ews\StructType\EwsPathToExtendedFieldType|null |
111
|
|
|
*/ |
112
|
|
|
public function getExtendedFieldURI() |
113
|
|
|
{ |
114
|
|
|
return $this->ExtendedFieldURI; |
115
|
|
|
} |
116
|
|
|
/** |
117
|
|
|
* Set ExtendedFieldURI value |
118
|
|
|
* @param \Ews\StructType\EwsPathToExtendedFieldType $extendedFieldURI |
119
|
|
|
* @return \Ews\StructType\EwsTwoOperandExpressionType |
120
|
|
|
*/ |
121
|
|
|
public function setExtendedFieldURI(\Ews\StructType\EwsPathToExtendedFieldType $extendedFieldURI = null) |
122
|
|
|
{ |
123
|
|
|
$this->ExtendedFieldURI = $extendedFieldURI; |
124
|
|
|
return $this; |
125
|
|
|
} |
126
|
|
|
/** |
127
|
|
|
* Method called when an object has been exported with var_export() functions |
128
|
|
|
* It allows to return an object instantiated with the values |
129
|
|
|
* @see AbstractStructBase::__set_state() |
130
|
|
|
* @uses AbstractStructBase::__set_state() |
131
|
|
|
* @param array $array the exported values |
132
|
|
|
* @return \Ews\StructType\EwsTwoOperandExpressionType |
133
|
|
|
*/ |
134
|
|
|
public static function __set_state(array $array) |
135
|
|
|
{ |
136
|
|
|
return parent::__set_state($array); |
137
|
|
|
} |
138
|
|
|
/** |
139
|
|
|
* Method returning the class name |
140
|
|
|
* @return string __CLASS__ |
141
|
|
|
*/ |
142
|
|
|
public function __toString() |
143
|
|
|
{ |
144
|
|
|
return __CLASS__; |
145
|
|
|
} |
146
|
|
|
} |
147
|
|
|
|