public class PropertyName
extends java.lang.Object
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.
Constructor and Description |
---|
PropertyName(java.lang.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(java.lang.Object obj) |
java.lang.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.
|
java.lang.String |
getName()
Get the name of this PropertyName
|
int |
hashCode() |
java.lang.String |
toString()
Get the property name and the data type as "property-name (property-data-type)"
|
public PropertyName(java.lang.String name, byte dataTypeId)
name
- The name for the propertydataTypeId
- The ID of the data type for this property name.public java.lang.String getName()
public byte getDataTypeId()
public java.lang.String getDataType()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2023 DeviceAtlas Limited. All rights reserved.