Documentation

PropertyName
in package

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.

Tags
author

DeviceAtlas Limited

Table of Contents

Properties

$dataTypeId  : mixed
$name  : mixed

Methods

__construct()  : mixed
Create a new PropertyName with string name and expected data type of values.
__toString()  : mixed
equals()  : bool
Compare two instances of this class.
getDataType()  : string
Get the data type name for values associated with this Property name.
getDataTypeId()  : int
Get the data type ID for values associated with this Property name.
getName()  : string
Get the name of this PropertyName.
toString()  : string
Get the property name and the data type as "property-name (property-data-type)"

Properties

Methods

__construct()

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

public __construct(string $name, int $dataTypeId) : mixed
Parameters
$name : string

The name

$dataTypeId : int

The data type

equals()

Compare two instances of this class.

public equals(mixed $obj) : bool

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

Parameters
$obj : mixed
Return values
bool

true=equals

getDataType()

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

public getDataType() : string
Return values
string

The name of the data type

getDataTypeId()

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

public getDataTypeId() : int
Return values
int

The ID of the data type

getName()

Get the name of this PropertyName.

public getName() : string
Return values
string

The name of the PropertyName

toString()

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

public toString() : string
Return values
string

The property name and the name of the data type


        
On this page

Search results