\Mobi_Mtld_DA_PropertyName

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

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(  $name,   $dataTypeId) 

Create a new PropertyName with a name and the expected data type of value assigned to it.

Parameters

$name
$dataTypeId

getName()

getName() : string

Get the name of this PropertyName.

Returns

string —

The name of the PropertyName

getDataTypeId()

getDataTypeId() : integer

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

Returns

integer —

The ID of the data type

getDataType()

getDataType() : string

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

Returns

string —

The name of the data type

toString()

toString() : string

Returns a string to present this object.

Returns

string —

(data type)

__toString()

__toString() : \(data

Returns a string to present this object.

Returns

\(data —

type)

equals()

equals(  $obj) : boolean

Compare two instances of this class.

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

Parameters

$obj

Returns

boolean —

true=equals