Class SelectiveAccessDescription


  • public class SelectiveAccessDescription
    extends java.lang.Object
    Additional parameter to access attributes to narrow the results of a get operation on the smart meter. Please refer IEC 62056-6-2 (formally IEC 62056-62) to see what specific combination of selector and parameter are allowed for each object.
    • Constructor Detail

      • SelectiveAccessDescription

        public SelectiveAccessDescription​(int accessSelector,
                                          DataObject accessParameter)
        Constructs a new SelectiveAccessDescription.
        Parameters:
        accessSelector - The selector index, specifying what shall be filtered from the response
        accessParameter - The actual filter of the selection.
        Throws:
        java.lang.IllegalArgumentException - if the accessSelector is out of range. [0, 255]
    • Method Detail

      • getAccessSelector

        public int getAccessSelector()
        Get the access selector.

        The selector index, specifying what shall be filtered from the response.

        Returns:
        the access selector.
      • getAccessParameter

        public DataObject getAccessParameter()
        Returns the access parameter.
        Returns:
        the access parameter
      • toString

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