com.mockrunner.mock.connector.cci
Class MockMappedRecord
java.lang.Object
com.mockrunner.mock.connector.cci.MockRecord
com.mockrunner.mock.connector.cci.MockMappedRecord
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map, javax.resource.cci.MappedRecord, javax.resource.cci.Record
public class MockMappedRecord
- extends MockRecord
- implements javax.resource.cci.MappedRecord
Mock implementation of MappedRecord
.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.resource.cci.Record |
getRecordName, getRecordShortDescription, setRecordName, setRecordShortDescription |
MockMappedRecord
public MockMappedRecord()
MockMappedRecord
public MockMappedRecord(java.lang.String name)
MockMappedRecord
public MockMappedRecord(java.lang.String name,
java.lang.String description)
size
public int size()
- Specified by:
size
in interface java.util.Map
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface java.util.Map
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKey
in interface java.util.Map
containsValue
public boolean containsValue(java.lang.Object value)
- Specified by:
containsValue
in interface java.util.Map
get
public java.lang.Object get(java.lang.Object key)
- Specified by:
get
in interface java.util.Map
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
- Specified by:
put
in interface java.util.Map
remove
public java.lang.Object remove(java.lang.Object key)
- Specified by:
remove
in interface java.util.Map
putAll
public void putAll(java.util.Map map)
- Specified by:
putAll
in interface java.util.Map
clear
public void clear()
- Specified by:
clear
in interface java.util.Map
keySet
public java.util.Set keySet()
- Specified by:
keySet
in interface java.util.Map
values
public java.util.Collection values()
- Specified by:
values
in interface java.util.Map
entrySet
public java.util.Set entrySet()
- Specified by:
entrySet
in interface java.util.Map
equals
public boolean equals(java.lang.Object object)
- Specified by:
equals
in interface java.util.Map
- Specified by:
equals
in interface javax.resource.cci.Record
- Overrides:
equals
in class MockRecord
hashCode
public int hashCode()
- Specified by:
hashCode
in interface java.util.Map
- Specified by:
hashCode
in interface javax.resource.cci.Record
- Overrides:
hashCode
in class MockRecord
toString
public java.lang.String toString()
- Overrides:
toString
in class MockRecord
clone
public java.lang.Object clone()
- Specified by:
clone
in interface javax.resource.cci.Record
- Overrides:
clone
in class MockRecord