javax.resource.cci
Interface Record

All Superinterfaces:
Cloneable, Serializable
All Known Subinterfaces:
IndexedRecord, MappedRecord, ResultSet

public interface Record
extends Cloneable, Serializable

The Record interface is the base interface for representing input and output for an Interaction. A Record can be extended in several ways:

Both MappedRecord and IndexedRecord support heirarchical structures of Records with Records within Records.


Method Summary
 Object clone()
          Creae a copy of this Record
 boolean equals(Object other)
          Compare two Records for equality
 String getRecordName()
          Get the name of this Record.
 String getRecordShortDescription()
          Get the short description of this Record
 int hashCode()
           
 void setRecordName(String name)
          Set the name of this Record.
 void setRecordShortDescription(String description)
          Set the short description of this Record
 

Method Detail

clone

Object clone()
             throws CloneNotSupportedException
Creae a copy of this Record

Throws:
CloneNotSupportedException

equals

boolean equals(Object other)
Compare two Records for equality

Overrides:
equals in class Object

hashCode

int hashCode()
Overrides:
hashCode in class Object

getRecordName

String getRecordName()
Get the name of this Record.


setRecordName

void setRecordName(String name)
Set the name of this Record.


getRecordShortDescription

String getRecordShortDescription()
Get the short description of this Record


setRecordShortDescription

void setRecordShortDescription(String description)
Set the short description of this Record



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.