org.opennms.netmgt.model
Class OnmsIpInterface.CollectionType
java.lang.Object
org.opennms.netmgt.model.OnmsIpInterface.CollectionType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable
- Enclosing class:
- OnmsIpInterface
public static class OnmsIpInterface.CollectionType
- extends java.lang.Object
- implements java.lang.Comparable, java.io.Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PRIMARY
public static OnmsIpInterface.CollectionType PRIMARY
SECONDARY
public static OnmsIpInterface.CollectionType SECONDARY
COLLECT
public static OnmsIpInterface.CollectionType COLLECT
NO_COLLECT
public static OnmsIpInterface.CollectionType NO_COLLECT
OnmsIpInterface.CollectionType
public OnmsIpInterface.CollectionType(char collType)
getCharCode
public char getCharCode()
setCharCode
public void setCharCode(char collType)
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo in interface java.lang.Comparable
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
isLessThan
public boolean isLessThan(OnmsIpInterface.CollectionType collType)
isGreaterThan
public boolean isGreaterThan(OnmsIpInterface.CollectionType collType)
max
public OnmsIpInterface.CollectionType max(OnmsIpInterface.CollectionType collType)
min
public OnmsIpInterface.CollectionType min(OnmsIpInterface.CollectionType collType)
get
public static OnmsIpInterface.CollectionType get(char code)
get
public static OnmsIpInterface.CollectionType get(java.lang.String code)
Copyright © 2007. All Rights Reserved.