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 final OnmsIpInterface.PrimaryType PRIMARY
SECONDARY
public static final OnmsIpInterface.PrimaryType SECONDARY
NOT_ELIGIBLE
public static final OnmsIpInterface.PrimaryType NOT_ELIGIBLE
getCharCode
public char getCharCode()
setCharCode
public void setCharCode(char collType)
hashCode
public int hashCode()
- Hibernate objects should not have any specific hashCode() implementation
since it should always give the same object for the same row anyways.
- Overrides:
hashCode in class Object
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
compareTo
public int compareTo(OnmsIpInterface.PrimaryType collType)
- Specified by:
compareTo in interface Comparable<OnmsIpInterface.PrimaryType>
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)
Copyright © 2011. All Rights Reserved.