Package net.solarnetwork.node.io.bacnet
Interface BacnetDeviceObjectPropertyRef
- All Known Subinterfaces:
BacnetDeviceObjectPropertyCovRef
- All Known Implementing Classes:
SimpleBacnetDeviceObjectPropertyCovRef,SimpleBacnetDeviceObjectPropertyRef
public interface BacnetDeviceObjectPropertyRef
A reference to a device object property.
- Version:
- 1.0
- Author:
- matt
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intRepresents a "not indexed" property index value. -
Method Summary
Modifier and TypeMethodDescriptionintGet the device ID.intGet the object instance number.intGet the object type.intGet the property ID.default intGet the property array index.default booleanTest if a property array index is present.default BacnetObjectTypeGet the object type as an enumerated type.default BacnetPropertyTypeGet the property ID as an enumerated type.
-
Field Details
-
NOT_INDEXED
static final int NOT_INDEXEDRepresents a "not indexed" property index value.- See Also:
-
-
Method Details
-
getDeviceId
int getDeviceId()Get the device ID.- Returns:
- the device ID
-
getObjectType
int getObjectType()Get the object type.- Returns:
- the object type
-
objectType
Get the object type as an enumerated type.- Returns:
- the object type enumeration, or null if unsupported
-
getObjectNumber
int getObjectNumber()Get the object instance number.- Returns:
- the object instance number
-
getPropertyId
int getPropertyId()Get the property ID.- Returns:
- the property ID
-
getPropertyIndex
default int getPropertyIndex()Get the property array index.- Returns:
- the array index, or -1 for non-indexed properties or "all values" for indexed properties
-
hasPropertyIndex
default boolean hasPropertyIndex()Test if a property array index is present.- Returns:
- true if a property array index is present
-
propertyType
Get the property ID as an enumerated type.- Returns:
- the property type enumeration, or null if unsupported
-