Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.osgi.service.blueprint.reflect
Interface CollectionMetadata

All Superinterfaces:
  Metadata, NonNullMetadata

    public interface CollectionMetadata

extends NonNullMetadata

Metadata for a collection based value. Values of the collection are defined by Metadata objects. This Collection Metadata can constrain the values of the collection to a specific type.

Version:
  $Revision: 7563 $

Method Summary
`Class` | `getCollectionClass()` Return the type of the collection.
`List` | `getValues()` Return Metadata for the values of the collection.
`String` | `getValueType()` Return the type specified for the values of the collection.

Method Detail

### getCollectionClass

    Class getCollectionClass()

  Return the type of the collection. The possible types are: array (`Object[]`), `Set`, and `List`. This information is specified in the element name.

  Returns:
    The type of the collection. `Object[]` is returned to indicate an array.

### getValueType

    String getValueType()

  Return the type specified for the values of the collection. The `value-type` attribute specified this information.

  Returns:
    The type specified for the values of the collection.

### getValues

    List getValues()

  Return Metadata for the values of the collection.

  Returns:
    A List of Metadata for the values of the collection.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2012. All Rights Reserved.