org.opennms.netmgt.model
Class OnmsIpInterface.CollectionType

java.lang.Object
  extended by org.opennms.netmgt.model.OnmsIpInterface.CollectionType
All Implemented Interfaces:
Serializable, Comparable<OnmsIpInterface.CollectionType>
Enclosing class:
OnmsIpInterface

public static class OnmsIpInterface.CollectionType
extends Object
implements Comparable<OnmsIpInterface.CollectionType>, Serializable

See Also:
Serialized Form

Field Summary
static OnmsIpInterface.CollectionType COLLECT
           
static OnmsIpInterface.CollectionType NO_COLLECT
           
static OnmsIpInterface.CollectionType PRIMARY
           
static OnmsIpInterface.CollectionType SECONDARY
           
 
Constructor Summary
OnmsIpInterface.CollectionType(char collType)
           
 
Method Summary
 int compareTo(OnmsIpInterface.CollectionType collType)
           
 boolean equals(OnmsIpInterface.CollectionType o)
           
static OnmsIpInterface.CollectionType get(char code)
           
static OnmsIpInterface.CollectionType get(String code)
           
 char getCharCode()
           
 int hashCode()
           
 boolean isGreaterThan(OnmsIpInterface.CollectionType collType)
           
 boolean isLessThan(OnmsIpInterface.CollectionType collType)
           
 OnmsIpInterface.CollectionType max(OnmsIpInterface.CollectionType collType)
           
 OnmsIpInterface.CollectionType min(OnmsIpInterface.CollectionType collType)
           
 void setCharCode(char collType)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

OnmsIpInterface.CollectionType

public OnmsIpInterface.CollectionType(char collType)
Method Detail

getCharCode

public char getCharCode()

setCharCode

public void setCharCode(char collType)

compareTo

public int compareTo(OnmsIpInterface.CollectionType collType)
Specified by:
compareTo in interface Comparable<OnmsIpInterface.CollectionType>

equals

public boolean equals(OnmsIpInterface.CollectionType o)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class 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(String code)


Copyright © 2009. All Rights Reserved.