src/MetadataV3/mapping/cs/TComplexPropertyType.php 1 location
|
@@ 99-107 (lines=9) @@
|
96 |
|
* @param string $typeName |
97 |
|
* @return self |
98 |
|
*/ |
99 |
|
public function setTypeName($typeName) |
100 |
|
{ |
101 |
|
if (null != $typeName && !$this->isStringNotNullOrEmpty($typeName)) { |
102 |
|
$msg = 'Type name cannot be empty'; |
103 |
|
throw new \InvalidArgumentException($msg); |
104 |
|
} |
105 |
|
$this->typeName = $typeName; |
106 |
|
return $this; |
107 |
|
} |
108 |
|
|
109 |
|
/** |
110 |
|
* Gets as isPartial |
src/MetadataV3/mapping/cs/TComplexTypeMappingType.php 1 location
|
@@ 58-68 (lines=11) @@
|
55 |
|
* @param string $typeName |
56 |
|
* @return self |
57 |
|
*/ |
58 |
|
public function setTypeName($typeName) |
59 |
|
{ |
60 |
|
if (null != $typeName) { |
61 |
|
if (!$this->isStringNotNullOrEmpty($typeName)) { |
62 |
|
$msg = 'Type name cannot be empty'; |
63 |
|
throw new \InvalidArgumentException($msg); |
64 |
|
} |
65 |
|
} |
66 |
|
$this->typeName = $typeName; |
67 |
|
return $this; |
68 |
|
} |
69 |
|
|
70 |
|
/** |
71 |
|
* Gets as isPartial |
src/MetadataV3/mapping/cs/TEntitySetMappingType.php 1 location
|
@@ 96-104 (lines=9) @@
|
93 |
|
* @param string $typeName |
94 |
|
* @return self |
95 |
|
*/ |
96 |
|
public function setTypeName($typeName) |
97 |
|
{ |
98 |
|
if (null != $typeName && !$this->isStringNotNullOrEmpty($typeName)) { |
99 |
|
$msg = 'Type name cannot be empty'; |
100 |
|
throw new \InvalidArgumentException($msg); |
101 |
|
} |
102 |
|
$this->typeName = $typeName; |
103 |
|
return $this; |
104 |
|
} |
105 |
|
|
106 |
|
/** |
107 |
|
* Gets as storeEntitySet |
src/MetadataV3/mapping/cs/TEntityTypeMappingType.php 1 location
|
@@ 49-57 (lines=9) @@
|
46 |
|
* @param string $typeName |
47 |
|
* @return self |
48 |
|
*/ |
49 |
|
public function setTypeName($typeName) |
50 |
|
{ |
51 |
|
if (!$this->isStringNotNullOrEmpty($typeName)) { |
52 |
|
$msg = 'Type name cannot be null or empty'; |
53 |
|
throw new \InvalidArgumentException($msg); |
54 |
|
} |
55 |
|
$this->typeName = $typeName; |
56 |
|
return $this; |
57 |
|
} |
58 |
|
|
59 |
|
/** |
60 |
|
* Adds as mappingFragment |
src/MetadataV3/mapping/cs/TFunctionImportComplexTypeMappingType.php 1 location
|
@@ 43-51 (lines=9) @@
|
40 |
|
* @param string $typeName |
41 |
|
* @return self |
42 |
|
*/ |
43 |
|
public function setTypeName($typeName) |
44 |
|
{ |
45 |
|
if (!$this->isStringNotNullOrEmpty($typeName)) { |
46 |
|
$msg = 'Type name cannot be null or empty'; |
47 |
|
throw new \InvalidArgumentException($msg); |
48 |
|
} |
49 |
|
$this->typeName = $typeName; |
50 |
|
return $this; |
51 |
|
} |
52 |
|
|
53 |
|
/** |
54 |
|
* Adds as scalarProperty |
src/MetadataV3/mapping/cs/TFunctionImportEntityTypeMappingType.php 1 location
|
@@ 48-56 (lines=9) @@
|
45 |
|
* @param string $typeName |
46 |
|
* @return self |
47 |
|
*/ |
48 |
|
public function setTypeName($typeName) |
49 |
|
{ |
50 |
|
if (!$this->isStringNotNullOrEmpty($typeName)) { |
51 |
|
$msg = 'Type name cannot be null or empty'; |
52 |
|
throw new \InvalidArgumentException($msg); |
53 |
|
} |
54 |
|
$this->typeName = $typeName; |
55 |
|
return $this; |
56 |
|
} |
57 |
|
|
58 |
|
/** |
59 |
|
* Adds as scalarProperty |
src/MetadataV3/mapping/cs/TModificationFunctionMappingComplexPropertyType.php 1 location
|
@@ 75-83 (lines=9) @@
|
72 |
|
* @param string $typeName |
73 |
|
* @return self |
74 |
|
*/ |
75 |
|
public function setTypeName($typeName) |
76 |
|
{ |
77 |
|
if (!$this->isStringNotNullOrEmpty($typeName)) { |
78 |
|
$msg = 'Type name cannot be null or empty'; |
79 |
|
throw new \InvalidArgumentException($msg); |
80 |
|
} |
81 |
|
$this->typeName = $typeName; |
82 |
|
return $this; |
83 |
|
} |
84 |
|
|
85 |
|
public function isOK(&$msg = null) |
86 |
|
{ |