tuwien.auto.calimero.mgmt
Class PropertyClient.Property

java.lang.Object
  extended by tuwien.auto.calimero.mgmt.PropertyClient.Property
Enclosing class:
PropertyClient

public static class PropertyClient.Property
extends java.lang.Object

Stores property definition information of one property, used for type translation and property lookup by a property client.


Constructor Summary
PropertyClient.Property(int pid, java.lang.String pidName, java.lang.String propertyName, int objectType, int pdt, java.lang.String dpt)
          Creates a new property object of the supplied information.
 
Method Summary
 java.lang.String getDPT()
          Returns the datapoint type ID used for the property elements.
 java.lang.String getName()
          Returns the property friendly name, a more readable name of the property.
 int getObjectType()
          Returns the interface object type the property belongs to.
 int getPDT()
          Returns the property data type used for the property elements.
 int getPID()
          Returns the property identifier.
 java.lang.String getPIDName()
          Returns the PID name as string representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyClient.Property

public PropertyClient.Property(int pid,
                               java.lang.String pidName,
                               java.lang.String propertyName,
                               int objectType,
                               int pdt,
                               java.lang.String dpt)
Creates a new property object of the supplied information.

Parameters:
pid - property identifier
pidName - name of the property ID
propertyName - property name, a friendly readable name for the property
objectType - object type the property belongs to
pdt - property data type
dpt - datapoint type, use null if no DPT specified or to indicate default DPT usage
Method Detail

getDPT

public final java.lang.String getDPT()
Returns the datapoint type ID used for the property elements.

Returns:
the DPT ID as string, or null if no DPT was set

getName

public final java.lang.String getName()
Returns the property friendly name, a more readable name of the property.

Returns:
the property name

getObjectType

public final int getObjectType()
Returns the interface object type the property belongs to.

Returns:
the interface object type

getPDT

public final int getPDT()
Returns the property data type used for the property elements.

Returns:
the PDT

getPID

public final int getPID()
Returns the property identifier.

Returns:
the PID

getPIDName

public final java.lang.String getPIDName()
Returns the PID name as string representation.

Returns:
the PID name as string