Package com.deviceatlas
Class PropertyName
java.lang.Object
com.deviceatlas.PropertyName
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 Summary
ConstructorsConstructorDescriptionPropertyName(String name, byte dataTypeId) Create a new PropertyName with string name and expected data type of values. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the data type name for values associated with this Property name.byteGet the data type ID for values associated with this Property name.getName()Get the name of this PropertyNameinthashCode()toString()Get the property name and the data type as "property-name (property-data-type)"
-
Constructor Details
-
PropertyName
Create a new PropertyName with string name and expected data type of values.- Parameters:
name- The name for the propertydataTypeId- The ID of the data type for this property name.
-
-
Method Details
-
getName
Get the name of this PropertyName- Returns:
- The name of the PropertyName
-
getDataTypeId
public byte getDataTypeId()Get the data type ID for values associated with this Property name.- Returns:
- The ID of the data type
-
getDataType
Get the data type name for values associated with this Property name.- Returns:
- The name of the data type
-
toString
Get the property name and the data type as "property-name (property-data-type)" -
hashCode
public int hashCode() -
equals
-