The DeviceAtlas Carrier documentation
Public Member Functions | List of all members
Com.DeviceAtlas.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()

Com.DeviceAtlas.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 Com.DeviceAtlas.PropertyName.Equals ( object  obj)
inline

Compare object to another one

◆ GetDataType()

string Com.DeviceAtlas.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 Com.DeviceAtlas.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 Com.DeviceAtlas.PropertyName.GetHashCode ( )
inline

Get object hashcode

◆ GetName()

virtual string Com.DeviceAtlas.PropertyName.GetName ( )
inlinevirtual

Get the name of this PropertyName

Returns
The name of the PropertyName

◆ ToString()

override string Com.DeviceAtlas.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: