com.mockrunner.mock.connector.cci
Class MockRecord
java.lang.Object
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
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
MockRecord
public MockRecord()
MockRecord
public MockRecord(java.lang.String name)
MockRecord
public MockRecord(java.lang.String name,
java.lang.String description)
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