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, setKeys
getClassName, getDescription, getTypeName, isArray, isCollection, isEnum, isGeneric, isPrimitive, isProperties, isSimple, isTable
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getClassName, getDescription, getTypeName, isArray, isCollection, isEnum, isGeneric, isPrimitive, isProperties, isSimple, isTable
public 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 AbstractCompositeMetaType
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.