Class LgxTagMgr

    • Constructor Detail

      • LgxTagMgr

        public LgxTagMgr​(CipObject parent)
    • Method Detail

      • setParent

        public CipObject setParent​(CipTree parent)
        Description copied from class: CipTree
        Set or remove the parent of this CipTree, possibly removing this object from a previous parent before assigning to the new parent. Override this method if additional housekeeping is required when assigning or removing parents.
        Overrides:
        setParent in class CipObject
        Parameters:
        parent - The new parent of this object.
        Returns:
        The object replaced by this object in the parent, if any.
      • getDevice

        public LgxDevice getDevice()
        Description copied from class: CipObject
        CipObjects are expected to be organized as a tree, typically with a CipDevice at the root. (CipDevices can have a parent too, if an implementer chooses to represent a virtual chassis that way.)

        By default, any CipObject will simply ask its parent for the device if asked for the device. A CipDevice returns itself.

        Overrides:
        getDevice in class CipObject
        Returns:
        The CipDevice found in the parents of this object, if any.
      • setChild

        public CipObject setChild​(CipTree child,
                                  PathSegment seg)
        Description copied from class: CipTree
        Assign a given CipTree as a child of this CipTree identified by a specific PathSegment. If that path segment is already registered to a different child CipTree, replace it and return that old child.
        Overrides:
        setChild in class CipObject
        Parameters:
        child - The CipTree to register.
        seg - The Path Segment that identifies this child.
        Returns:
        The replaced CipTree, if any.
      • getTags

        public java.util.List<LgxTag> getTags()