The DeviceAtlas DeviceApi documentation
Public Member Functions | List of all members
Mobi.Mtld.DA.PropertyName Class Reference

Contains a property name and the expected data type of values associated with this name. This is returned in a Set when the method getPropertyNames() is called. More...

Public Member Functions

 PropertyName (string name, sbyte dataTypeId)
 Create a new PropertyName with string name and expected data type of values. More...
 
virtual string GetName ()
 Get the name of this PropertyName More...
 
virtual sbyte GetDataTypeId ()
 Get the data type ID for values associated with this Property name. More...
 
string GetDataType ()
 Get the data type name for values associated with this Property name. More...
 
override string ToString ()
 Get the property name and the data type as "property-name (property-data-type)" More...
 
override int GetHashCode ()
 Get object hashcode More...
 
override bool Equals (object obj)
 Compare object to another one More...
 

Detailed Description

Contains a property name and the expected data type of values associated with this name. This is returned in a Set when the method getPropertyNames() is called.

Author
DeviceAtlas Limited

Constructor & Destructor Documentation

◆ PropertyName()

Mobi.Mtld.DA.PropertyName.PropertyName ( string  name,
sbyte  dataTypeId 
)
inline

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

Parameters
nameThe name for the property
dataTypeIdThe ID of the data type for this property name.

Member Function Documentation

◆ Equals()

override bool Mobi.Mtld.DA.PropertyName.Equals ( object  obj)
inline

Compare object to another one

◆ GetDataType()

string Mobi.Mtld.DA.PropertyName.GetDataType ( )
inline

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

Returns
The name of the data type

◆ GetDataTypeId()

virtual sbyte Mobi.Mtld.DA.PropertyName.GetDataTypeId ( )
inlinevirtual

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

Returns
The ID of the data type

◆ GetHashCode()

override int Mobi.Mtld.DA.PropertyName.GetHashCode ( )
inline

Get object hashcode

◆ GetName()

virtual string Mobi.Mtld.DA.PropertyName.GetName ( )
inlinevirtual

Get the name of this PropertyName

Returns
The name of the PropertyName

◆ ToString()

override string Mobi.Mtld.DA.PropertyName.ToString ( )
inline

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

Returns
The property name and the name of the data type

The documentation for this class was generated from the following file: