org.apache.aries.blueprint.reflect
Class CollectionMetadataImpl
java.lang.Object
org.apache.aries.blueprint.reflect.CollectionMetadataImpl
- All Implemented Interfaces:
- MutableCollectionMetadata, org.osgi.service.blueprint.reflect.CollectionMetadata, org.osgi.service.blueprint.reflect.Metadata, org.osgi.service.blueprint.reflect.NonNullMetadata
public class CollectionMetadataImpl
- extends Object
- implements MutableCollectionMetadata
Implementation of CollectionMetadata
- Version:
- $Rev: 896324 $, $Date: 2010-01-06 06:05:04 +0000 (Wed, 06 Jan 2010) $
CollectionMetadataImpl
public CollectionMetadataImpl()
CollectionMetadataImpl
public CollectionMetadataImpl(Class collectionClass,
String valueType,
List<org.osgi.service.blueprint.reflect.Metadata> values)
CollectionMetadataImpl
public CollectionMetadataImpl(org.osgi.service.blueprint.reflect.CollectionMetadata source)
getCollectionClass
public Class getCollectionClass()
- Specified by:
getCollectionClass
in interface org.osgi.service.blueprint.reflect.CollectionMetadata
setCollectionClass
public void setCollectionClass(Class collectionClass)
- Specified by:
setCollectionClass
in interface MutableCollectionMetadata
getValueType
public String getValueType()
- Specified by:
getValueType
in interface org.osgi.service.blueprint.reflect.CollectionMetadata
setValueType
public void setValueType(String valueType)
- Specified by:
setValueType
in interface MutableCollectionMetadata
getValues
public List<org.osgi.service.blueprint.reflect.Metadata> getValues()
- Specified by:
getValues
in interface org.osgi.service.blueprint.reflect.CollectionMetadata
setValues
public void setValues(List<org.osgi.service.blueprint.reflect.Metadata> values)
addValue
public void addValue(org.osgi.service.blueprint.reflect.Metadata value)
- Specified by:
addValue
in interface MutableCollectionMetadata
removeValue
public void removeValue(org.osgi.service.blueprint.reflect.Metadata value)
- Specified by:
removeValue
in interface MutableCollectionMetadata
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.