org.apache.aries.blueprint.reflect
Class PropsMetadataImpl

java.lang.Object
  extended by 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) $

Constructor Summary
PropsMetadataImpl()
           
PropsMetadataImpl(java.util.List<MapEntry> entries)
           
PropsMetadataImpl(PropsMetadata source)
           
 
Method Summary
 void addEntry(MapEntry entry)
           
 MapEntry addEntry(NonNullMetadata key, Metadata value)
           
 java.util.List<MapEntry> getEntries()
          Return the entries for the properties.
 void removeEntry(MapEntry entry)
           
 void setEntries(java.util.List<MapEntry> entries)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropsMetadataImpl

public PropsMetadataImpl()

PropsMetadataImpl

public PropsMetadataImpl(java.util.List<MapEntry> entries)

PropsMetadataImpl

public PropsMetadataImpl(PropsMetadata source)
Method Detail

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.