com.infoengine.connector
Class IeInteractionResult

java.lang.Object
  extended bycom.infoengine.connector.IeInteractionResult
All Implemented Interfaces:
Cloneable, javax.resource.cci.Record, Serializable

public class IeInteractionResult
extends Object
implements javax.resource.cci.Record

returned from execution of an Info*Engine interaction

See Also:
IeInteraction, Serialized Form

Field Summary
private  String name
           
private  Object result
           
private  String shortDesc
           
 
Constructor Summary
IeInteractionResult()
          create an unnamed IeInteractionResult
IeInteractionResult(String name)
          create a named IeInteractionResult
 
Method Summary
 Object clone()
          not supported as not needed.
 boolean equals(Object other)
          compare this IeInteractionResult with another for equality
 String getRecordName()
          get record name
 String getRecordShortDescription()
          get record short description
 Object getResult()
          get the object result from interaction execution
 int hashCode()
          generate this object's hashCode.
 void setRecordName(String str)
          set record name
 void setRecordShortDescription(String str)
          set record short description
(package private)  void setResult(Object o)
          set the object result from interaction execution
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private String name

shortDesc

private String shortDesc

result

private Object result
Constructor Detail

IeInteractionResult

public IeInteractionResult()
create an unnamed IeInteractionResult


IeInteractionResult

public IeInteractionResult(String name)
create a named IeInteractionResult

Parameters:
name - record name
Method Detail

getRecordName

public String getRecordName()
get record name

Specified by:
getRecordName in interface javax.resource.cci.Record
Returns:
String

getRecordShortDescription

public String getRecordShortDescription()
get record short description

Specified by:
getRecordShortDescription in interface javax.resource.cci.Record
Returns:
String

setRecordName

public void setRecordName(String str)
set record name

Specified by:
setRecordName in interface javax.resource.cci.Record
Parameters:
str - new record name

setRecordShortDescription

public void setRecordShortDescription(String str)
set record short description

Specified by:
setRecordShortDescription in interface javax.resource.cci.Record
Parameters:
str - new record short description

getResult

public Object getResult()
get the object result from interaction execution

Returns:
Object

setResult

void setResult(Object o)
set the object result from interaction execution

Parameters:
o - the result Object

clone

public Object clone()
             throws CloneNotSupportedException
not supported as not needed.

Specified by:
clone in interface javax.resource.cci.Record
Throws:
CloneNotSupportedException

equals

public boolean equals(Object other)
compare this IeInteractionResult with another for equality

Specified by:
equals in interface javax.resource.cci.Record
Parameters:
other - obejct to compare to
Returns:
boolean

hashCode

public int hashCode()
generate this object's hashCode. based on name, short description and object result

Specified by:
hashCode in interface javax.resource.cci.Record
Returns:
int