org.apache.aries.blueprint.reflect
Class PropsMetadataImpl
java.lang.Object
org.apache.aries.blueprint.reflect.PropsMetadataImpl
- All Implemented Interfaces:
- MutablePropsMetadata, Metadata, NonNullMetadata, PropsMetadata
public class PropsMetadataImpl
- extends java.lang.Object
- implements MutablePropsMetadata
Implementation of PropsMetadata
- Version:
- $Rev: 896324 $, $Date: 2010-01-06 06:05:04 +0000 (Wed, 06 Jan 2010) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PropsMetadataImpl
public PropsMetadataImpl()
PropsMetadataImpl
public PropsMetadataImpl(java.util.List<MapEntry> entries)
PropsMetadataImpl
public PropsMetadataImpl(PropsMetadata source)
getEntries
public java.util.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(java.util.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 java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.