org.jboss.metatype.api.types
Interface CompositeMetaType

All Superinterfaces:
MetaType, Serializable
All Known Implementing Classes:
AbstractCompositeMetaType, ImmutableCompositeMetaType, MapCompositeMetaType, MutableCompositeMetaType

public interface CompositeMetaType
extends MetaType

CompositeMetaType.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Field Summary
 
Fields inherited from interface org.jboss.metatype.api.types.MetaType
ALLOWED_CLASSNAMES
 
Method Summary
 boolean containsItem(String itemName)
          Determine whether this CompositeMetaType contains the itemName
 String getDescription(String itemName)
          Retrieve the description for an item name
 MetaType getType(String itemName)
          Retrieve the meta type for an item name
 Set<String> itemSet()
          Retrieve an unmodifiable Set view of all the item names in ascending order.
 Set<String> keySet()
          Retrieve an unmodifiable Set view of all the key names in ascending order.
 
Methods inherited from interface org.jboss.metatype.api.types.MetaType
getClassName, getDescription, getTypeName, isArray, isCollection, isComposite, isEnum, isGeneric, isPrimitive, isProperties, isSimple, isTable, isValue
 

Method Detail

containsItem

boolean containsItem(String itemName)
Determine whether this CompositeMetaType contains the itemName

Parameters:
itemName - the item name
Returns:
true when it does, false otherwise

getDescription

String getDescription(String itemName)
Retrieve the description for an item name

Parameters:
itemName - the item name
Returns:
the description or null when there is no such item name

getType

MetaType getType(String itemName)
Retrieve the meta type for an item name

Parameters:
itemName - the item name
Returns:
the open type or null when there is no such item name

itemSet

Set<String> itemSet()
Retrieve an unmodifiable Set view of all the item names in ascending order.

Returns:
the Set

keySet

Set<String> keySet()
Retrieve an unmodifiable Set view of all the key names in ascending order.

Returns:
the Set


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