public class PropertyName extends Object
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.
Constructor and Description |
---|
PropertyName(String name,
byte dataTypeId)
Create a new PropertyName with string name and expected data type of
values.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDataType()
Get the data type name for values associated with this Property name.
|
byte |
getDataTypeId()
Get the data type ID for values associated with this Property name.
|
String |
getName()
Get the name of this PropertyName
|
int |
hashCode() |
String |
toString()
Get the property name and the data type as "property-name (property-data-type)"
|
public PropertyName(String name, byte dataTypeId)
name
- The name for the propertydataTypeId
- The ID of the data type for this property name.public String getName()
public byte getDataTypeId()
public String getDataType()
public String toString()
Copyright © 2021 DeviceAtlas Limited. All rights reserved.