Package org.opennms.netmgt.enlinkd.model
Class OspfElement
- java.lang.Object
-
- org.opennms.netmgt.enlinkd.model.OspfElement
-
- All Implemented Interfaces:
java.io.Serializable
@Entity public final class OspfElement extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OspfElement.Status
static class
OspfElement.TruthValue
-
Constructor Summary
Constructors Constructor Description OspfElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getId()
getIdOnmsNode
getNode()
The node this asset information belongs to.OspfElement.Status
getOspfAdminStat()
OspfElement.TruthValue
getOspfASBdrRtrStatus()
OspfElement.TruthValue
getOspfBdrRtrStatus()
java.util.Date
getOspfNodeCreateTime()
java.util.Date
getOspfNodeLastPollTime()
java.net.InetAddress
getOspfRouterId()
java.lang.Integer
getOspfRouterIdIfindex()
java.net.InetAddress
getOspfRouterIdNetmask()
java.lang.Integer
getOspfVersionNumber()
void
merge(OspfElement element)
void
setId(java.lang.Integer id)
void
setNode(OnmsNode node)
void
setOspfAdminStat(OspfElement.Status ospfAdminStat)
void
setOspfASBdrRtrStatus(OspfElement.TruthValue ospfASBdrRtrStatus)
void
setOspfBdrRtrStatus(OspfElement.TruthValue ospfBdrRtrStatus)
void
setOspfNodeCreateTime(java.util.Date ospfNodeCreateTime)
void
setOspfNodeLastPollTime(java.util.Date ospfNodeLastPollTime)
void
setOspfRouterId(java.net.InetAddress ospfRouterId)
void
setOspfRouterIdIfindex(java.lang.Integer ospfRouterIdIfindex)
void
setOspfRouterIdNetmask(java.net.InetAddress ospfRouterIdNetmask)
void
setOspfVersionNumber(java.lang.Integer ospfVersionNumber)
java.lang.String
toString()
toString
-
-
-
Method Detail
-
getId
public java.lang.Integer getId()
getId
- Returns:
- a
Integer
object.
-
getNode
public OnmsNode getNode()
The node this asset information belongs to.- Returns:
- a
OnmsNode
object.
-
getOspfRouterId
public java.net.InetAddress getOspfRouterId()
-
getOspfAdminStat
public OspfElement.Status getOspfAdminStat()
-
getOspfVersionNumber
public java.lang.Integer getOspfVersionNumber()
-
getOspfBdrRtrStatus
public OspfElement.TruthValue getOspfBdrRtrStatus()
-
getOspfASBdrRtrStatus
public OspfElement.TruthValue getOspfASBdrRtrStatus()
-
getOspfRouterIdNetmask
public java.net.InetAddress getOspfRouterIdNetmask()
-
getOspfRouterIdIfindex
public java.lang.Integer getOspfRouterIdIfindex()
-
getOspfNodeCreateTime
public java.util.Date getOspfNodeCreateTime()
-
getOspfNodeLastPollTime
public java.util.Date getOspfNodeLastPollTime()
-
setOspfRouterId
public void setOspfRouterId(java.net.InetAddress ospfRouterId)
-
setOspfAdminStat
public void setOspfAdminStat(OspfElement.Status ospfAdminStat)
-
setOspfVersionNumber
public void setOspfVersionNumber(java.lang.Integer ospfVersionNumber)
-
setOspfBdrRtrStatus
public void setOspfBdrRtrStatus(OspfElement.TruthValue ospfBdrRtrStatus)
-
setOspfASBdrRtrStatus
public void setOspfASBdrRtrStatus(OspfElement.TruthValue ospfASBdrRtrStatus)
-
setId
public void setId(java.lang.Integer id)
-
setNode
public void setNode(OnmsNode node)
-
setOspfRouterIdNetmask
public void setOspfRouterIdNetmask(java.net.InetAddress ospfRouterIdNetmask)
-
setOspfRouterIdIfindex
public void setOspfRouterIdIfindex(java.lang.Integer ospfRouterIdIfindex)
-
setOspfNodeCreateTime
public void setOspfNodeCreateTime(java.util.Date ospfNodeCreateTime)
-
setOspfNodeLastPollTime
public void setOspfNodeLastPollTime(java.util.Date ospfNodeLastPollTime)
-
toString
public java.lang.String toString()
toString
- Overrides:
toString
in classjava.lang.Object
- Returns:
- a
String
object.
-
merge
public void merge(OspfElement element)
-
-