Class CosemResourceDescriptor

  • Direct Known Subclasses:
    AttributeAddress, MethodParameter

    public abstract class CosemResourceDescriptor
    extends java.lang.Object
    The COSEM resource descriptor. The base class for an attribute address or a method address.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getClassId()
      Get the class ID.
      int getId()
      The ID/index of the resource.
      ObisCode getInstanceId()
      Get the instance ID of the interface class.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getClassId

        public int getClassId()
        Get the class ID.
        Returns:
        the int class ID.
      • getId

        public int getId()
        The ID/index of the resource. Method or attribute index.
        Returns:
        the index.
      • getInstanceId

        public ObisCode getInstanceId()
        Get the instance ID of the interface class.
        Returns:
        the instance ID.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object