Class ImmutableTopologyPort
- java.lang.Object
-
- org.opennms.integration.api.v1.model.immutables.ImmutableTopologyPort
-
- All Implemented Interfaces:
org.opennms.integration.api.v1.model.TopologyPort
public final class ImmutableTopologyPort extends java.lang.Object implements org.opennms.integration.api.v1.model.TopologyPortAn immutable implementation ofTopologyPortthat enforces deep immutability.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableTopologyPort.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetId()java.lang.StringgetIfAddress()java.lang.IntegergetIfIndex()java.lang.StringgetIfName()org.opennms.integration.api.v1.model.NodeCriteriagetNodeCriteria()java.lang.StringgetTooltipText()inthashCode()static org.opennms.integration.api.v1.model.TopologyPortimmutableCopy(org.opennms.integration.api.v1.model.TopologyPort topologyPort)static ImmutableTopologyPort.BuildernewBuilder()static ImmutableTopologyPort.BuildernewBuilderFrom(org.opennms.integration.api.v1.model.TopologyPort topologyPort)java.lang.StringtoString()
-
-
-
Method Detail
-
newBuilder
public static ImmutableTopologyPort.Builder newBuilder()
-
newBuilderFrom
public static ImmutableTopologyPort.Builder newBuilderFrom(org.opennms.integration.api.v1.model.TopologyPort topologyPort)
-
immutableCopy
public static org.opennms.integration.api.v1.model.TopologyPort immutableCopy(org.opennms.integration.api.v1.model.TopologyPort topologyPort)
-
getId
public java.lang.String getId()
-
getTooltipText
public java.lang.String getTooltipText()
-
getIfIndex
public java.lang.Integer getIfIndex()
- Specified by:
getIfIndexin interfaceorg.opennms.integration.api.v1.model.TopologyPort
-
getIfName
public java.lang.String getIfName()
- Specified by:
getIfNamein interfaceorg.opennms.integration.api.v1.model.TopologyPort
-
getIfAddress
public java.lang.String getIfAddress()
- Specified by:
getIfAddressin interfaceorg.opennms.integration.api.v1.model.TopologyPort
-
getNodeCriteria
public org.opennms.integration.api.v1.model.NodeCriteria getNodeCriteria()
- Specified by:
getNodeCriteriain interfaceorg.opennms.integration.api.v1.model.TopologyPort
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-