javax.resource.cci
Interface Record

All Superinterfaces:
java.lang.Cloneable, java.io.Serializable
All Known Subinterfaces:
IndexedRecord (src) , MappedRecord (src) , ResultSet (src)

public interface Record
extends java.lang.Cloneable, java.io.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
 java.lang.Object clone()
          Creae a copy of this Record
 boolean equals(java.lang.Object other)
          Compare two Records for equality
 java.lang.String getRecordName()
          Get the name of this Record.
 java.lang.String getRecordShortDescription()
          Get the short description of this Record
 int hashCode()
           
 void setRecordName(java.lang.String name)
          Set the name of this Record.
 void setRecordShortDescription(java.lang.String description)
          Set the short description of this Record
 

Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Creae a copy of this Record

Throws:
java.lang.CloneNotSupportedException

equals

public boolean equals(java.lang.Object other)
Compare two Records for equality


hashCode

public int hashCode()

getRecordName

public java.lang.String getRecordName()
Get the name of this Record.


setRecordName

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


getRecordShortDescription

public java.lang.String getRecordShortDescription()
Get the short description of this Record


setRecordShortDescription

public void setRecordShortDescription(java.lang.String description)
Set the short description of this Record