Class BasicOPCBrowseElement

  • All Implemented Interfaces:
    OPCBrowseElement, java.io.Serializable

    public class BasicOPCBrowseElement
    extends java.lang.Object
    implements OPCBrowseElement
    Basic struct-style implementation of OPCBrowseElement
    See Also:
    Serialized Form
    • Constructor Detail

      • BasicOPCBrowseElement

        public BasicOPCBrowseElement​(ServerNodeId serverNodeId,
                                     BrowseElementType elementType,
                                     java.lang.Class<?> datatype,
                                     java.lang.String displayName,
                                     java.lang.String description)
    • Method Detail

      • getDatatype

        public java.lang.Class<?> getDatatype()
        Description copied from interface: OPCBrowseElement
        Gets the data type of the element.

        XXX NOTE: this really only applies to tags, which are only one type of element. Servers and folders won't use this. In the future, we might make it a property, but right now this is the quickest way to get things up and running.

        Specified by:
        getDatatype in interface OPCBrowseElement
      • toString

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