IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.base.types
Class DSEKey

java.lang.Object
  extended by com.ibm.btt.base.types.DSEKey
All Implemented Interfaces:
Key

public class DSEKey
extends java.lang.Object
implements Key

This class provides an implementation of a business object identifier.


Field Summary
(package private)  java.lang.Object keyValue
          The value of this key, an abitrary object understood by the key's type
(package private)  Type type
          The type of business object that this key identifies
 
Constructor Summary
DSEKey(java.lang.Object keyValue, Type type)
          This constrcutor creates a DSEKey with the value and Type passed.
 
Method Summary
 boolean equals(Key key)
          Returns a flag indicating whether the Key passed is equal to this key in a business sense.
 java.lang.Object getKeyValue()
          Returns the arbitrary Object which represents this Key´s value.
 Type getType()
          Returns the Type of business object that this Key identifies.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keyValue

final java.lang.Object keyValue
The value of this key, an abitrary object understood by the key's type


type

final Type type
The type of business object that this key identifies

Constructor Detail

DSEKey

public DSEKey(java.lang.Object keyValue,
              Type type)
This constrcutor creates a DSEKey with the value and Type passed.

Parameters:
keyValue - Object
type - Type
Method Detail

equals

public boolean equals(Key key)
Returns a flag indicating whether the Key passed is equal to this key in a business sense.

Delegates to the KeyBuilder for this Key´s Type.

Specified by:
equals in interface Key
Parameters:
key - Key
Returns:
boolean

getKeyValue

public java.lang.Object getKeyValue()
Returns the arbitrary Object which represents this Key´s value.

This object is understood by the KeyBuilder for the referenced Type.

Specified by:
getKeyValue in interface Key
Returns:
Object

getType

public Type getType()
Returns the Type of business object that this Key identifies.

Specified by:
getType in interface Key
Returns:
Type

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011