Class MacPort
- java.lang.Object
-
- org.opennms.netmgt.enlinkd.service.api.MacPort
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MacPort
create(IpNetToMedia media)
boolean
equals(java.lang.Object obj)
java.lang.Integer
getIfIndex()
java.util.Map<java.lang.String,java.util.Set<java.net.InetAddress>>
getMacPortMap()
java.lang.String
getMacPortName()
java.lang.Integer
getNodeId()
java.lang.String
getPortMacInfo()
int
hashCode()
static MacPort
merge(IpNetToMedia media, MacPort port)
java.lang.String
printTopology()
void
setIfIndex(java.lang.Integer macPortIfIndex)
void
setMacPortMap(java.util.Map<java.lang.String,java.util.Set<java.net.InetAddress>> macPortMap)
void
setMacPortName(java.lang.String macPortName)
void
setNodeId(java.lang.Integer nodeId)
-
-
-
Method Detail
-
create
public static MacPort create(IpNetToMedia media)
-
merge
public static MacPort merge(IpNetToMedia media, MacPort port)
-
getPortMacInfo
public java.lang.String getPortMacInfo()
-
printTopology
public java.lang.String printTopology()
- Specified by:
printTopology
in interfaceTopology
-
getIfIndex
public java.lang.Integer getIfIndex()
-
setIfIndex
public void setIfIndex(java.lang.Integer macPortIfIndex)
-
getMacPortName
public java.lang.String getMacPortName()
-
setMacPortName
public void setMacPortName(java.lang.String macPortName)
-
getMacPortMap
public java.util.Map<java.lang.String,java.util.Set<java.net.InetAddress>> getMacPortMap()
-
setMacPortMap
public void setMacPortMap(java.util.Map<java.lang.String,java.util.Set<java.net.InetAddress>> macPortMap)
-
getNodeId
public java.lang.Integer getNodeId()
-
setNodeId
public void setNodeId(java.lang.Integer nodeId)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-