JBoss Managed Parent POM 2.1.1.SP2

org.jboss.metatype.api.values
Interface CollectionValue

All Superinterfaces:
Cloneable, Iterable<MetaValue>, MetaValue, Serializable
All Known Implementing Classes:
CollectionValueSupport

public interface CollectionValue
extends MetaValue, Iterable<MetaValue>

CollectionValue.

Author:
Ales Justin

Method Summary
 MetaValue[] getElements()
          Get the underlying elements.
 CollectionMetaType getMetaType()
          Get the metatype for this value
 int getSize()
          Get the size of the collection.
 
Methods inherited from interface org.jboss.metatype.api.values.MetaValue
clone
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

getMetaType

CollectionMetaType getMetaType()
Description copied from interface: MetaValue
Get the metatype for this value

Specified by:
getMetaType in interface MetaValue
Returns:
the metatype

getElements

MetaValue[] getElements()
Get the underlying elements.

Returns:
the underlying elements

getSize

int getSize()
Get the size of the collection.

Returns:
size of the colelction.

JBoss Managed Parent POM 2.1.1.SP2

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.