Class Group

  • All Implemented Interfaces:
    java.io.Serializable

    public class Group
    extends java.lang.Object
    implements java.io.Serializable
    a MIB object group
    See Also:
    Serialized Form
    • Constructor Detail

      • Group

        public Group()
      • Group

        public Group​(java.lang.String name)
    • Method Detail

      • getName

        public java.lang.String getName()
        group name
      • setName

        public void setName​(java.lang.String name)
      • getIfType

        public java.lang.String getIfType()

        Interface type.

        Indicates the interface types from which the groups MIB objects are to be collected.

        Supports individual ifType values or comma-separated list of ifType values in addition to "all" and "ignore" key words.

        For example:

        • "6" indicates that OIDs from this MIB group are to be collected only for ethernet interfaces (ifType = 6)
        • "6,22" indicates that OIDs from this MIB group are to be collected only for ethernet and serial interfaces
        • "all" indicates that the OIDs from this MIB group are to be collected for all interfaces regardless of ifType
        • "ignore" indicates that OIDs from this MIB group are node-level objects.

        Sample ifType descriptions/values: (Refer to http://www.iana.org/assignments/ianaiftype-mib for a comprehensive list.)

        • ethernetCsmacd 6
        • iso8825TokenRing 9
        • fddi 15
        • sdlc 17
        • basicISDN 20
        • primaryISDN 21
        • propPointToPointSerial 22
        • ppp 23
        • atm 37
        • sonet 39
        • opticalChannel 195
      • setIfType

        public void setIfType​(java.lang.String ifType)
      • getMibObjs

        public java.util.List<MibObj> getMibObjs()
      • setMibObjs

        public void setMibObjs​(java.util.List<MibObj> mibObjs)
      • addMibObj

        public void addMibObj​(MibObj mibObj)
                       throws java.lang.IndexOutOfBoundsException
        Throws:
        java.lang.IndexOutOfBoundsException
      • removeMibObj

        public boolean removeMibObj​(MibObj mibObj)
      • getIncludeGroups

        public java.util.List<java.lang.String> getIncludeGroups()
      • setIncludeGroups

        public void setIncludeGroups​(java.util.List<java.lang.String> includeGroups)
      • addIncludeGroup

        public void addIncludeGroup​(java.lang.String includeGroup)
                             throws java.lang.IndexOutOfBoundsException
        Throws:
        java.lang.IndexOutOfBoundsException
      • removeIncludeGroup

        public boolean removeIncludeGroup​(java.lang.String includeGroup)
      • getProperties

        public java.util.List<MibObjProperty> getProperties()
      • setProperties

        public void setProperties​(java.util.List<MibObjProperty> mibObjProperties)
      • 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
      • toString

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