|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.blueprint.reflect.MapMetadataImpl
public class MapMetadataImpl
Implementation of MapMetadata
| Constructor Summary | |
|---|---|
MapMetadataImpl()
|
|
MapMetadataImpl(MapMetadata source)
|
|
MapMetadataImpl(String keyType,
String valueType,
List<MapEntry> entries)
|
|
| Method Summary | |
|---|---|
void |
addEntry(MapEntry entry)
|
MapEntry |
addEntry(NonNullMetadata key,
Metadata value)
|
List<MapEntry> |
getEntries()
Return the entries for the map. |
String |
getKeyType()
Return the name of the type of the map keys. |
String |
getValueType()
Return the name of the type of the map values. |
void |
removeEntry(MapEntry entry)
|
void |
setEntries(List<MapEntry> entries)
|
void |
setKeyType(String keyTypeName)
|
void |
setValueType(String valueTypeName)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MapMetadataImpl()
public MapMetadataImpl(String keyType,
String valueType,
List<MapEntry> entries)
public MapMetadataImpl(MapMetadata source)
| Method Detail |
|---|
public String getKeyType()
MapMetadatakey-type attribute of the map.
getKeyType in interface MapMetadatanull if
none is specified.public void setKeyType(String keyTypeName)
setKeyType in interface MutableMapMetadatapublic String getValueType()
MapMetadatavalue-type attribute of the map.
getValueType in interface MapMetadatanull if
none is specified.public void setValueType(String valueTypeName)
setValueType in interface MutableMapMetadatapublic List<MapEntry> getEntries()
MapMetadata
getEntries in interface MapMetadataMapEntry objects for each entry in
the map. The List is empty if no entries are specified for the
map.public void setEntries(List<MapEntry> entries)
public void addEntry(MapEntry entry)
addEntry in interface MutableMapMetadata
public MapEntry addEntry(NonNullMetadata key,
Metadata value)
addEntry in interface MutableMapMetadatapublic void removeEntry(MapEntry entry)
removeEntry in interface MutableMapMetadatapublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||