Class SnmpAttributeType

  • All Implemented Interfaces:
    CollectionAttributeType
    Direct Known Subclasses:
    HexStringAttributeType, MibPropertyAttributeType, NumericAttributeType, StringAttributeType

    public abstract class SnmpAttributeType
    extends AbstractCollectionAttributeType
    Represents an OID to be collected (it might be specific or an indexed object). Also specific to a collection (e.g.: "default"), resource type (e.g.: node or interface), and attribute group (data collection group name, e.g.: "mib2-interfaces"). This is extended to create concrete classes that represent specific types of data to be stored such as numeric data ({@link (NumericAttributeType)}) or string data ({@link (StringAttributeType)}).
    Version:
    $Id: $
    Author:
    ranger
    • Field Detail

      • m_mibObj

        protected final MibObject m_mibObj
    • Method Detail

      • getCollectionName

        protected java.lang.String getCollectionName()

        getCollectionName

        Returns:
        a String object.
      • getCollectionTrackers

        public static java.util.List<Collectable> getCollectionTrackers​(java.util.Collection<SnmpAttributeType> objList)

        getCollectionTrackers

        Parameters:
        objList - a Collection object.
        Returns:
        a List object.
      • getGroupName

        public java.lang.String getGroupName()

        getGroupName

        Returns:
        a String object.
      • getAlias

        public java.lang.String getAlias()

        getAlias

        Returns:
        a String object.
      • getOid

        public java.lang.String getOid()

        getOid

        Returns:
        a String object.
      • getInstance

        public java.lang.String getInstance()

        getInstance

        Returns:
        a String object.
      • getName

        public java.lang.String getName()

        getName

        Returns:
        a String object.
      • toString

        public java.lang.String toString()

        toString

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

        public boolean equals​(java.lang.Object obj)

        equals

        Specified by:
        equals in interface CollectionAttributeType
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - a Object object.
        Returns:
        a boolean.
      • hashCode

        public int hashCode()

        hashCode

        Specified by:
        hashCode in interface CollectionAttributeType
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        a int.
      • getGroupIfType

        public java.lang.String getGroupIfType()

        getGroupIfType

        Returns:
        a String object.