public class MapCompositeMetaType extends AbstractCompositeMetaType
ALLOWED_CLASSNAMES| Constructor and Description |
|---|
MapCompositeMetaType(MetaType valueType)
Create a MapCompositeMetaType with the given value metatype.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addItem(String itemName)
Add an item
|
void |
addItem(String itemName,
String itemDescription)
Add an item along with its description
|
boolean |
equals(Object obj) |
MetaType |
getValueType()
Access the map value type.
|
int |
hashCode() |
String |
toString() |
addItem, containsItem, equalsImpl, getDescription, getType, hashCodeImpl, isComposite, isValue, itemSet, keySet, setKeysgetClassName, getDescription, getTypeName, isArray, isCollection, isEnum, isGeneric, isPrimitive, isProperties, isSimple, isTableclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetClassName, getDescription, getTypeName, isArray, isCollection, isEnum, isGeneric, isPrimitive, isProperties, isSimple, isTablepublic MapCompositeMetaType(MetaType valueType)
valueType - the value meta typepublic MetaType getValueType()
public void addItem(String itemName)
itemName - - the name of the itempublic void addItem(String itemName, String itemDescription)
itemName - - the name of the itemitemDescription - - the description of the itempublic String toString()
toString in class AbstractCompositeMetaTypeCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.