org.openmdx.base.resource.spi
Class DelegatingMappedRecord
java.lang.Object
org.openmdx.base.resource.spi.DelegatingMappedRecord
- All Implemented Interfaces:
- Serializable, Cloneable, Map, MappedRecord, Record, MultiLineStringRepresentation
public class DelegatingMappedRecord
- extends Object
- implements MappedRecord, MultiLineStringRepresentation
openMDX JCA
Delegating Mapped Record
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
DelegatingMappedRecord
public DelegatingMappedRecord(String recordName,
String recordShortDescription,
Map source)
getRecordName
public String getRecordName()
- Specified by:
getRecordName in interface Record
getRecordShortDescription
public String getRecordShortDescription()
- Specified by:
getRecordShortDescription in interface Record
setRecordName
public void setRecordName(String recordName)
- Specified by:
setRecordName in interface Record
- Parameters:
string -
setRecordShortDescription
public void setRecordShortDescription(String recordShortDescription)
- Specified by:
setRecordShortDescription in interface Record
- Parameters:
string -
clear
public void clear()
- Specified by:
clear in interface Map
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey in interface Map
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue in interface Map
entrySet
public Set entrySet()
- Specified by:
entrySet in interface Map
get
public Object get(Object key)
- Specified by:
get in interface Map
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Map
keySet
public Set keySet()
- Specified by:
keySet in interface Map
put
public Object put(Object key,
Object value)
- Specified by:
put in interface Map
putAll
public void putAll(Map t)
- Specified by:
putAll in interface Map
remove
public Object remove(Object key)
- Specified by:
remove in interface Map
size
public int size()
- Specified by:
size in interface Map
values
public Collection values()
- Specified by:
values in interface Map
clone
public Object clone()
- Specified by:
clone in interface Record- Overrides:
clone in class Object
toString
public String toString()
- Returns a multi-line string representation of this MappedRecord.
The string representation consists of the record name, follwed by the
optional short description enclosed in parenthesis (" (...)"), followed
by a colon and the mappings enclosed in braces (": {...}"). Each
key-value mapping is rendered as the key followed by an equals sign ("=")
followed by the associated value written on a separate line and indented
while embedded lines are indented as well.
- Overrides:
toString in class Object
- Returns:
- a multi-line String representation of this Record.
equals
public boolean equals(Object that)
- Specified by:
equals in interface Map- Specified by:
equals in interface Record- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface Map- Specified by:
hashCode in interface Record- Overrides:
hashCode in class Object
This software is published under the BSD license. Copyright © 2003-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.