Class CollectionAgentDTO

    • Constructor Detail

      • CollectionAgentDTO

        public CollectionAgentDTO()
    • Method Detail

      • getAddress

        public java.net.InetAddress getAddress()
        Description copied from interface: CollectionAgent

        Returns the address information for the interface.

        Specified by:
        getAddress in interface CollectionAgent
        Returns:
        a Object object.
      • setAddress

        public void setAddress​(java.net.InetAddress address)
      • getAttributeNames

        public java.util.Set<java.lang.String> getAttributeNames()
        Description copied from interface: CollectionAgent
        Retrieves the names of all available attributes.
        Specified by:
        getAttributeNames in interface CollectionAgent
        Returns:
        a Set that contains the name of all configured attributes
      • getAttribute

        public <V> V getAttribute​(java.lang.String property)
        Description copied from interface: CollectionAgent

        This method is used to return the object that is associated with the property name. This is very similar to the java.util.Map get() method, but requires that the lookup be performed using a String name. The object may be of any instance that the monitor previous stored.

        If there is no matching object for the property key, then a null pointer is returned to the application.

        Specified by:
        getAttribute in interface CollectionAgent
        Parameters:
        property - The key for the lookup.
        Returns:
        The resulting value for the key, null if no value exist.
        See Also:
        Map.get(java.lang.Object)
      • setAttribute

        public java.lang.Object setAttribute​(java.lang.String property,
                                             java.lang.Object value)
        Description copied from interface: CollectionAgent

        This method is used to associate an object value with a textual key. If a previous value was associated with the key then the old value is returned to the caller. This is identical to the behavior defined by the java.util.Map put() method. The only restriction is that the key must be a java string instance.

        Specified by:
        setAttribute in interface CollectionAgent
        Parameters:
        property - The key
        value - The value to associate with the key
        Returns:
        The object that was previously associated with the key. Null is returned if there was no previous value associated.
        See Also:
        Map.put(java.lang.Object, java.lang.Object)
      • setStoreByForeignSource

        public void setStoreByForeignSource​(java.lang.Boolean storeByForeignSource)
      • setNodeId

        public void setNodeId​(int nodeId)
      • setNodeLabel

        public void setNodeLabel​(java.lang.String nodeLabel)
      • setForeignSource

        public void setForeignSource​(java.lang.String foreignSource)
      • setForeignId

        public void setForeignId​(java.lang.String foreignId)
      • setLocationName

        public void setLocationName​(java.lang.String location)
      • setStorageResourcePath

        public void setStorageResourcePath​(ResourcePath storageResourcePath)
      • setSavedSysUpTime

        public void setSavedSysUpTime​(long sysUpTime)
        Description copied from interface: CollectionAgent

        setSavedSysUpTime

        Specified by:
        setSavedSysUpTime in interface CollectionAgent
        Parameters:
        sysUpTime - a long.
      • toString

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

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object