Package org.openmuc.jdlms
Class SelectiveAccessDescription
- java.lang.Object
-
- org.openmuc.jdlms.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 Summary
Constructors Constructor Description SelectiveAccessDescription(int accessSelector, DataObject accessParameter)
Constructs a new SelectiveAccessDescription.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataObject
getAccessParameter()
Returns the access parameter.int
getAccessSelector()
Get the access selector.java.lang.String
toString()
-
-
-
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 responseaccessParameter
- 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 classjava.lang.Object
-
-