Class Snmp

    • Constructor Detail

      • Snmp

        public Snmp()
    • Method Detail

      • copyFrom

        public static Snmp copyFrom​(ISnmp source)
      • deleteGeneric

        public void deleteGeneric()
      • deleteSpecific

        public void deleteSpecific()
      • deleteTimeStamp

        public void deleteTimeStamp()
      • getCommunity

        public String getCommunity()
        Returns the value of field 'community'. The field 'community' has the following description: The community name
        Returns:
        the value of field 'Community'.
      • getGeneric

        public Integer getGeneric()
        Returns the value of field 'generic'. The field 'generic' has the following description: The generic trap number
        Returns:
        the value of field 'Generic'.
      • getId

        public String getId()
        Returns the value of field 'id'. The field 'id' has the following description: The snmp enterprise id
        Returns:
        the value of field 'Id'.
      • getIdtext

        public String getIdtext()
        Returns the value of field 'idtext'. The field 'idtext' has the following description: The snmp enterprise id text
        Returns:
        the value of field 'Idtext'.
      • getSpecific

        public Integer getSpecific()
        Returns the value of field 'specific'. The field 'specific' has the following description: The specific trap number
        Returns:
        the value of field 'Specific'.
      • getTimeStamp

        public Long getTimeStamp()
        Returns the value of field 'timeStamp'. The field 'timeStamp' has the following description: The time stamp
        Returns:
        the value of field 'TimeStamp'.
      • getVersion

        public String getVersion()
        Returns the value of field 'version'. The field 'version' has the following description: The snmp version
        Returns:
        the value of field 'Version'.
      • hasGeneric

        public boolean hasGeneric()
        Method hasGeneric.
        Returns:
        true if at least one Generic has been added
      • hasSpecific

        public boolean hasSpecific()
        Method hasSpecific.
        Returns:
        true if at least one Specific has been added
      • hasTrapOID

        public boolean hasTrapOID()
      • hasTimeStamp

        public boolean hasTimeStamp()
        Method hasTimeStamp.
        Returns:
        true if at least one TimeStamp has been added
      • setCommunity

        public void setCommunity​(String community)
        Sets the value of field 'community'. The field 'community' has the following description: The community name
        Parameters:
        community - the value of field 'community'.
      • setGeneric

        public void setGeneric​(Integer generic)
        Sets the value of field 'generic'. The field 'generic' has the following description: The generic trap number
        Parameters:
        generic - the value of field 'generic'.
      • setId

        public void setId​(String id)
        Sets the value of field 'id'. The field 'id' has the following description: The snmp enterprise id
        Parameters:
        id - the value of field 'id'.
      • getTrapOID

        public String getTrapOID()
      • setTrapOID

        public void setTrapOID​(String _trapOID)
      • setIdtext

        public void setIdtext​(String idtext)
        Sets the value of field 'idtext'. The field 'idtext' has the following description: The snmp enterprise id text
        Parameters:
        idtext - the value of field 'idtext'.
      • setSpecific

        public void setSpecific​(Integer specific)
        Sets the value of field 'specific'. The field 'specific' has the following description: The specific trap number
        Parameters:
        specific - the value of field 'specific'.
      • setTimeStamp

        public void setTimeStamp​(Long timeStamp)
        Sets the value of field 'timeStamp'. The field 'timeStamp' has the following description: The time stamp
        Parameters:
        timeStamp - the value of field 'timeStamp'.
      • setVersion

        public void setVersion​(String version)
        Sets the value of field 'version'. The field 'version' has the following description: The snmp version
        Parameters:
        version - the value of field 'version'.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object