@Entity public class OnmsPathOutage extends Object implements Serializable
OnmsPathOutage class
Constructor and Description |
---|
OnmsPathOutage() |
OnmsPathOutage(OnmsNode node,
InetAddress criticalPathIp,
String criticalPathServiceName)
Constructor for OnmsPathOutage
|
Modifier and Type | Method and Description |
---|---|
InetAddress |
getCriticalPathIp()
Getter for field
m_criticalPathIp . |
String |
getCriticalPathServiceName()
Getter for field
m_criticalPathServiceName . |
OnmsNode |
getNode()
The node this asset information belongs to.
|
int |
getNodeId()
Because the pathOutage table uses the node ID as its ID, this set of
annotations uses a Hibernate "foreign" strategy ID generator so that
the foreign key of a related object (the "node") is used as the ID of this object.
|
void |
setCriticalPathIp(InetAddress criticalPathIp)
Setter for field
m_criticalPathIp . |
void |
setCriticalPathServiceName(String criticalPathServiceName)
Setter for field
m_criticalPathServiceName . |
void |
setNode(OnmsNode node) |
void |
setNodeId(int id) |
public OnmsPathOutage(OnmsNode node, InetAddress criticalPathIp, String criticalPathServiceName)
Constructor for OnmsPathOutage
an
- intan
- InetAddressa
- Stringpublic OnmsPathOutage()
public OnmsNode getNode()
OnmsNode
object.public void setNode(OnmsNode node)
public int getNodeId()
http://fruzenshtein.com/bidirectional-one-to-one-primary-key-association/
public void setNodeId(int id)
public InetAddress getCriticalPathIp()
Getter for field m_criticalPathIp
.
public void setCriticalPathIp(InetAddress criticalPathIp)
Setter for field m_criticalPathIp
.
an
- InetAddresspublic String getCriticalPathServiceName()
Getter for field m_criticalPathServiceName
.
public void setCriticalPathServiceName(String criticalPathServiceName)
Setter for field m_criticalPathServiceName
.
a
- StringCopyright © 2016. All rights reserved.