Class GenericIndexResource

    • Constructor Detail

      • GenericIndexResource

        public GenericIndexResource​(ResourceType def,
                                    java.lang.String name,
                                    SnmpInstId inst)

        Constructor for GenericIndexResource.

        Parameters:
        def - a ResourceType object.
        name - a String object.
        inst - a SnmpInstId object.
    • Method Detail

      • toString

        public java.lang.String toString()

        toString

        Overrides:
        toString in class java.lang.Object
        Returns:
        a String object.
      • getSnmpIfType

        public int getSnmpIfType()
        Returns ifType; is (but not sure if it should be) -1 for non interface type collections, otherwise the SNMP type of the interface. This field is used to match the ifType field of the group from datacollection-config.xml.
        Specified by:
        getSnmpIfType in class SnmpCollectionResource
        Returns:
        a int.
      • getResourceTypeName

        public java.lang.String getResourceTypeName()

        getResourceTypeName

        Returns:
        a String object.
      • getInstance

        public java.lang.String getInstance()

        getInstance

        Returns:
        a String object.
      • getUnmodifiedInstance

        public java.lang.String getUnmodifiedInstance()
        Description copied from interface: CollectionResource
        Returns the unmodified instance string this CollectionResource represents.
        Returns:
        a String object.
      • getParent

        public ResourcePath getParent()
        Description copied from interface: CollectionResource
        Returns the name of the parent resource.
        Returns:
        a String object.
      • getInterfaceLabel

        public java.lang.String getInterfaceLabel()

        getLabel

        Returns:
        a String object.