org.apache.geronimo.blueprint.reflect
Class PropsMetadataImpl
java.lang.Object
org.apache.geronimo.blueprint.reflect.PropsMetadataImpl
- All Implemented Interfaces:
- MutablePropsMetadata, Metadata, NonNullMetadata, PropsMetadata
public class PropsMetadataImpl
- extends Object
- implements MutablePropsMetadata
Implementation of PropsMetadata
- Version:
- $Rev: 760378 $, $Date: 2009-03-31 11:31:38 +0200 (Tue, 31 Mar 2009) $
- Author:
- Apache Geronimo Project
PropsMetadataImpl
public PropsMetadataImpl()
PropsMetadataImpl
public PropsMetadataImpl(List<MapEntry> entries)
PropsMetadataImpl
public PropsMetadataImpl(PropsMetadata source)
getEntries
public List<MapEntry> getEntries()
- Description copied from interface:
PropsMetadata
- Return the entries for the properties.
- Specified by:
getEntries in interface PropsMetadata
- Returns:
- An immutable List of
MapEntry objects for each entry in
the properties. The List is empty if no entries are specified for
the properties.
setEntries
public void setEntries(List<MapEntry> entries)
addEntry
public void addEntry(MapEntry entry)
- Specified by:
addEntry in interface MutablePropsMetadata
addEntry
public MapEntry addEntry(NonNullMetadata key,
Metadata value)
- Specified by:
addEntry in interface MutablePropsMetadata
removeEntry
public void removeEntry(MapEntry entry)
- Specified by:
removeEntry in interface MutablePropsMetadata
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.