com.mockrunner.mock.connector.cci
Class MockRecord

java.lang.Object
  extended by com.mockrunner.mock.connector.cci.MockRecord
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.resource.cci.Record
Direct Known Subclasses:
MockIndexedRecord, MockMappedRecord, MockStreamableByteArrayRecord

public class MockRecord
extends java.lang.Object
implements javax.resource.cci.Record

Mock implementation of Record.

See Also:
Serialized Form

Constructor Summary
MockRecord()
           
MockRecord(java.lang.String name)
           
MockRecord(java.lang.String name, java.lang.String description)
           
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object object)
           
 java.lang.String getRecordName()
           
 java.lang.String getRecordShortDescription()
           
 int hashCode()
           
 void setRecordName(java.lang.String recordName)
           
 void setRecordShortDescription(java.lang.String recordDescription)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockRecord

public MockRecord()

MockRecord

public MockRecord(java.lang.String name)

MockRecord

public MockRecord(java.lang.String name,
                  java.lang.String description)
Method Detail

getRecordName

public java.lang.String getRecordName()
Specified by:
getRecordName in interface javax.resource.cci.Record

getRecordShortDescription

public java.lang.String getRecordShortDescription()
Specified by:
getRecordShortDescription in interface javax.resource.cci.Record

setRecordName

public void setRecordName(java.lang.String recordName)
Specified by:
setRecordName in interface javax.resource.cci.Record

setRecordShortDescription

public void setRecordShortDescription(java.lang.String recordDescription)
Specified by:
setRecordShortDescription in interface javax.resource.cci.Record

equals

public boolean equals(java.lang.Object object)
Specified by:
equals in interface javax.resource.cci.Record
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface javax.resource.cci.Record
Overrides:
hashCode in class java.lang.Object

toString

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

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Specified by:
clone in interface javax.resource.cci.Record
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException