Class SnAddressSpec


  • public class SnAddressSpec
    extends java.lang.Object
    Variable Access Specification of COSEM attributes or methods.
    • Method Detail

      • newAttributeAddress

        public static SnAddressSpec newAttributeAddress​(int variableName)
        Create a new SN attribute address.
        Parameters:
        variableName - the variable name of the COSEM attribute.
        Returns:
        a new SN attribute address.
      • newAttributeAddress

        public static SnAddressSpec newAttributeAddress​(int variableName,
                                                        SelectiveAccessDescription parameterizedAccess)
        Create a new SN attribute address with parameterized access specification.
        Parameters:
        variableName - the variable name of the COSEM attribute.
        parameterizedAccess - the parameterized access descriptor.
        Returns:
        a new SN attribute address.
      • newMethodAddress

        public static SnAddressSpec newMethodAddress​(int methodName,
                                                     DataObject invocationParameter)
        Create a new SN method address with invocation parameter.
        Parameters:
        methodName - the short method (variable) name.
        invocationParameter - the invocation parameter of the COSEM method.
        Returns:
        a new SN method address.
      • newMethodAddress

        public static SnAddressSpec newMethodAddress​(int methodName)
        Create a new SN method address without method parameter.
        Parameters:
        methodName - the short method (variable) name.
        Returns:
        a new SN method address.
      • getVariableName

        public int getVariableName()
        Get the variable name.
        Returns:
        the two byte variable name.
      • getParameterizedAccessDescriptor

        public SelectiveAccessDescription getParameterizedAccessDescriptor()
        Get the parameterized access descriptor.
        Returns:
        the parameterized access descriptor.
      • toString

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