org.sourceforge.bdbadapter.cci
Class MappedRecordImpl

java.lang.Object
  |
  +--org.sourceforge.bdbadapter.cci.MappedRecordImpl
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, javax.resource.cci.MappedRecord, javax.resource.cci.Record, java.io.Serializable

public class MappedRecordImpl
extends java.lang.Object
implements javax.resource.cci.MappedRecord

See Also:
Serialized Form

Inner classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
static java.lang.String DATA
           
private  java.lang.String description
           
static java.lang.String KEY
           
private  java.util.HashMap mappedRecord
           
private  java.lang.String recordName
           
static java.lang.String RESULT
           
 
Constructor Summary
MappedRecordImpl()
           
MappedRecordImpl(java.lang.String name)
           
 
Method Summary
 void clear()
           
 java.lang.Object clone()
           
 boolean containsKey(java.lang.Object key)
           
 boolean containsValue(java.lang.Object value)
           
 java.util.Set entrySet()
           
 boolean equals(java.lang.Object other)
           
 java.lang.Object get(java.lang.Object o)
           
 java.lang.String getRecordName()
           
 java.lang.String getRecordShortDescription()
           
 int hashCode()
           
 boolean isEmpty()
           
 java.util.Set keySet()
           
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
           
 void putAll(java.util.Map c)
           
 java.lang.Object remove(java.lang.Object o)
           
 void setRecordName(java.lang.String name)
           
 void setRecordShortDescription(java.lang.String description)
           
 int size()
           
 java.lang.String toString()
           
 java.util.Collection values()
           
 
Methods inherited from class java.lang.Object
, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

KEY

public static final java.lang.String KEY

DATA

public static final java.lang.String DATA

RESULT

public static final java.lang.String RESULT

recordName

private java.lang.String recordName

description

private java.lang.String description

mappedRecord

private java.util.HashMap mappedRecord
Constructor Detail

MappedRecordImpl

public MappedRecordImpl()

MappedRecordImpl

public MappedRecordImpl(java.lang.String name)
Method Detail

getRecordName

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

setRecordName

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

getRecordShortDescription

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

setRecordShortDescription

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

equals

public boolean equals(java.lang.Object other)
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

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

clear

public void clear()
Specified by:
clear 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

entrySet

public java.util.Set entrySet()
Specified by:
entrySet in interface java.util.Map

get

public java.lang.Object get(java.lang.Object o)
Specified by:
get in interface java.util.Map

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Map

keySet

public java.util.Set keySet()
Specified by:
keySet 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

putAll

public void putAll(java.util.Map c)
Specified by:
putAll in interface java.util.Map

remove

public java.lang.Object remove(java.lang.Object o)
Specified by:
remove in interface java.util.Map

size

public int size()
Specified by:
size in interface java.util.Map

values

public java.util.Collection values()
Specified by:
values in interface java.util.Map

toString

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