org.opennms.netmgt.model
Class OnmsIpInterface.PrimaryType
java.lang.Object
org.opennms.netmgt.model.OnmsIpInterface.PrimaryType
- All Implemented Interfaces:
- Serializable, Comparable<OnmsIpInterface.PrimaryType>
- Enclosing class:
- OnmsIpInterface
public static class OnmsIpInterface.PrimaryType
- extends Object
- implements Comparable<OnmsIpInterface.PrimaryType>, Serializable
- See Also:
- Serialized Form
PRIMARY
public static OnmsIpInterface.PrimaryType PRIMARY
SECONDARY
public static OnmsIpInterface.PrimaryType SECONDARY
NOT_ELIGIBLE
public static OnmsIpInterface.PrimaryType NOT_ELIGIBLE
OnmsIpInterface.PrimaryType
public OnmsIpInterface.PrimaryType(char collType)
getCharCode
public char getCharCode()
setCharCode
public void setCharCode(char collType)
compareTo
public int compareTo(OnmsIpInterface.PrimaryType collType)
- Specified by:
compareTo in interface Comparable<OnmsIpInterface.PrimaryType>
equals
public boolean equals(OnmsIpInterface.PrimaryType o)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
isLessThan
public boolean isLessThan(OnmsIpInterface.PrimaryType collType)
isGreaterThan
public boolean isGreaterThan(OnmsIpInterface.PrimaryType collType)
max
public OnmsIpInterface.PrimaryType max(OnmsIpInterface.PrimaryType collType)
min
public OnmsIpInterface.PrimaryType min(OnmsIpInterface.PrimaryType collType)
get
public static OnmsIpInterface.PrimaryType get(char code)
get
public static OnmsIpInterface.PrimaryType get(String code)
getCanonical
public static OnmsIpInterface.PrimaryType getCanonical(OnmsIpInterface.PrimaryType issnmpprimary)
Copyright © 2009. All Rights Reserved.