Class ImmutableSnmpInterface

  • All Implemented Interfaces:
    org.opennms.integration.api.v1.model.SnmpInterface

    public final class ImmutableSnmpInterface
    extends java.lang.Object
    implements org.opennms.integration.api.v1.model.SnmpInterface
    An immutable implementation of SnmpInterface that enforces deep immutability.
    • Method Detail

      • immutableCopy

        public static org.opennms.integration.api.v1.model.SnmpInterface immutableCopy​(org.opennms.integration.api.v1.model.SnmpInterface snmpInterface)
      • getIfDescr

        public java.lang.String getIfDescr()
        Specified by:
        getIfDescr in interface org.opennms.integration.api.v1.model.SnmpInterface
      • getIfName

        public java.lang.String getIfName()
        Specified by:
        getIfName in interface org.opennms.integration.api.v1.model.SnmpInterface
      • getIfIndex

        public java.lang.Integer getIfIndex()
        Specified by:
        getIfIndex in interface org.opennms.integration.api.v1.model.SnmpInterface
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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