org.eclipse.stardust.common
Class IntKey

java.lang.Object
  extended by org.eclipse.stardust.common.IntKey
All Implemented Interfaces:
Serializable, Comparable

public class IntKey
extends Object
implements Serializable, Comparable

Version:
$Revision$
Author:
ubirkemeyer
See Also:
Serialized Form

Constructor Summary
IntKey(int id, String defaultName)
           
 
Method Summary
 int compareTo(Object rhs)
           
 boolean equals(Object obj)
          
static IntKey getKey(Class type, int id)
           
static Collection getKeys(Class type)
           
 String getName()
           
 int getValue()
           
 int hashCode()
          
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntKey

public IntKey(int id,
              String defaultName)
Method Detail

getValue

public int getValue()

toString

public String toString()
Overrides:
toString in class Object

getName

public String getName()

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

getKeys

public static Collection getKeys(Class type)

getKey

public static IntKey getKey(Class type,
                            int id)

compareTo

public int compareTo(Object rhs)
Specified by:
compareTo in interface Comparable


Copyright © 2017 Eclipse Stardust. All Rights Reserved.