Class ScanResource


  • public class ScanResource
    extends java.lang.Object

    ScanResource class.

    Version:
    $Id: $
    Author:
    ranger
    • Constructor Summary

      Constructors 
      Constructor Description
      ScanResource​(java.lang.String type)
      Constructor for ScanResource.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAttribute​(java.lang.String key)
      getAttribute
      OnmsNode getNode()
      getNode
      java.lang.String getType()
      getType
      void setAttribute​(java.lang.String key, java.lang.String value)
      setAttribute
      void setNode​(OnmsNode node)
      setNode
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScanResource

        public ScanResource​(java.lang.String type)

        Constructor for ScanResource.

        Parameters:
        type - a String object.
    • Method Detail

      • getType

        public java.lang.String getType()

        getType

        Returns:
        a String object.
      • setNode

        public void setNode​(OnmsNode node)

        setNode

        Parameters:
        node - a OnmsNode object.
      • setAttribute

        public void setAttribute​(java.lang.String key,
                                 java.lang.String value)

        setAttribute

        Parameters:
        key - a String object.
        value - a String object.
      • getAttribute

        public java.lang.String getAttribute​(java.lang.String key)

        getAttribute

        Parameters:
        key - a String object.
        Returns:
        a String object.