/** * Resets all <strong>non-identity</strong>fields to null. Fields that are themselves topology * objects are not null'ed out, but do have their resetNonIdentity() methods called. */ @Override public void reset() { if (_resetting == true) { return; } _resetting = true; super.reset(); if (!(_ipAddress == null)) { _ipAddress.reset(); } _macAddress = null; _interfaceIndex = null; _portNumber = null; _interfaceType = null; _netmask = null; _isLayer2 = null; _networkSegment = null; _layer2Segment = null; _discoveryStatus = null; if (!(_networks == null)) { for (TopologyObject list_element : _networks) { list_element.reset(); } } _bandwidth = null; _utilization = null; _packetsSent = null; _packetsReceived = null; _sendRate = null; _receiveRate = null; _inboundPacketsDropped = null; _outboundPacketsDropped = null; _inboundErrors = null; _outboundErrors = null; _outputQueueLength = null; _resetting = false; }