\DeviceAtlasPropertyName

Contains a property name and the expected data type of values associated with the property.

This is returned in a Set when the method getPropertyNames() is called.

Summary

Methods
Properties
Constants
__construct()
getName()
getDataTypeId()
getDataType()
toString()
__toString()
equals()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$name
$dataTypeId
N/A

Properties

$name

$name : 

Type

$dataTypeId

$dataTypeId : 

Type

Methods

__construct()

__construct(string  $name, integer  $dataTypeId) 

Create a new PropertyName with string name and expected data type of values.

Parameters

string $name

The name

integer $dataTypeId

The data type

Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

getName()

getName() : string

Get the name of this PropertyName.

Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

string —

The name of the PropertyName

getDataTypeId()

getDataTypeId() : integer

Get the data type ID for values associated with this Property name.

Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

integer —

The ID of the data type

getDataType()

getDataType() : string

Get the data type name for values associated with this Property name.

Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

string —

The name of the data type

toString()

toString() : string

Get the property name and the data type as "property-name (property-data-type)"

Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

string —

The property name and the name of the data type

__toString()

__toString() 

Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

equals()

equals(  $obj) : boolean

Compare two instances of this class.

If both have equal values and data type then returns true.

Parameters

$obj
Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

boolean —

true=equals