org.opennms.netmgt.linkd
Class DbAtInterfaceEntry

java.lang.Object
  extended by org.opennms.netmgt.linkd.DbAtInterfaceEntry

public final class DbAtInterfaceEntry
extends Object

Author:
Antonio Russo, David Hustace

Field Summary
static char STATUS_ACTIVE
          The character returned if the entry is active
static char STATUS_DELETED
          It stats that node is deleted The character returned if the node is deleted
static char STATUS_NOT_POLLED
          The character returned if the entry is not active means last polled
static char STATUS_UNKNOWN
          The character returned if the entry type is unset/unknown.
 
Method Summary
protected  int get_ifindex()
           
protected  String get_ipaddr()
           
protected  Timestamp get_lastpolltime()
           
protected  int get_nodeId()
           
protected  String get_physaddr()
           
protected  int get_sourcenodeid()
           
protected  char get_status()
           
protected  boolean hasAtPhysAddrChanged()
           
protected  boolean hasIfIndexChanged()
           
protected  boolean hasSourceNodeIdChanged()
           
protected  boolean hasStatusChanged()
           
protected  void set_ifindex(int ifindex)
           
protected  void set_lastpolltime(Date time)
          Sets the last poll time.
protected  void set_lastpolltime(String time)
          Sets the last poll time.
protected  void set_lastpolltime(Timestamp time)
          Sets the last poll time.
protected  void set_physaddr(String macaddr)
           
protected  void set_sourcenodeid(int sourcenode)
           
protected  void set_status(char status)
           
 String toString()
          toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STATUS_ACTIVE

public static final char STATUS_ACTIVE
The character returned if the entry is active

See Also:
Constant Field Values

STATUS_NOT_POLLED

public static final char STATUS_NOT_POLLED
The character returned if the entry is not active means last polled

See Also:
Constant Field Values

STATUS_DELETED

public static final char STATUS_DELETED
It stats that node is deleted The character returned if the node is deleted

See Also:
Constant Field Values

STATUS_UNKNOWN

public static final char STATUS_UNKNOWN
The character returned if the entry type is unset/unknown.

See Also:
Constant Field Values
Method Detail

get_nodeId

protected int get_nodeId()
Returns:

get_ipaddr

protected String get_ipaddr()
Returns:

get_physaddr

protected String get_physaddr()
Returns:

set_physaddr

protected void set_physaddr(String macaddr)

hasAtPhysAddrChanged

protected boolean hasAtPhysAddrChanged()

get_sourcenodeid

protected int get_sourcenodeid()
Returns:

set_sourcenodeid

protected void set_sourcenodeid(int sourcenode)

hasSourceNodeIdChanged

protected boolean hasSourceNodeIdChanged()

get_ifindex

protected int get_ifindex()
Returns:

set_ifindex

protected void set_ifindex(int ifindex)

hasIfIndexChanged

protected boolean hasIfIndexChanged()

get_status

protected char get_status()
Returns:

set_status

protected void set_status(char status)

hasStatusChanged

protected boolean hasStatusChanged()

get_lastpolltime

protected Timestamp get_lastpolltime()
Returns:

set_lastpolltime

protected void set_lastpolltime(String time)
                         throws ParseException
Sets the last poll time.

Parameters:
time - The last poll time.
Throws:
ParseException

set_lastpolltime

protected void set_lastpolltime(Date time)
Sets the last poll time.

Parameters:
time - The last poll time.

set_lastpolltime

protected void set_lastpolltime(Timestamp time)
Sets the last poll time.

Parameters:
time - The last poll time.

toString

public String toString()

toString

Overrides:
toString in class Object
Returns:
a String object.


Copyright © 2011. All Rights Reserved.