org.eclipse.stardust.common
Class IntKey

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

public class IntKey
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable

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

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

Constructor Detail

IntKey

public IntKey(int id,
              java.lang.String defaultName)
Method Detail

getValue

public int getValue()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getName

public java.lang.String getName()

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

getKeys

public static java.util.Collection getKeys(java.lang.Class type)

getKey

public static IntKey getKey(java.lang.Class type,
                            int id)

compareTo

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


Copyright © 2014 SunGard CSA LLC. All Rights Reserved.