public class MutableCompositeMetaType extends AbstractCompositeMetaType
ALLOWED_CLASSNAMES| Constructor and Description |
|---|
MutableCompositeMetaType(String typeName,
String description)
Construct a composite meta type with no items.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addItem(String itemName,
String itemDescription,
MetaType itemType)
Add an item
|
boolean |
equals(Object obj) |
void |
freeze()
Freeze the metatype
|
int |
hashCode() |
void |
setKeys(Set<String> keySet)
Set the keys
|
String |
toString() |
containsItem, equalsImpl, getDescription, getType, hashCodeImpl, isComposite, isValue, itemSet, keySetgetClassName, 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 MutableCompositeMetaType(String typeName, String description)
typeName - the name of the composite type, cannot be null or emptydescription - the human readable description of the composite type, cannot be null or emptyIllegalArgumentException - when a parameter does not match what is described above.public void addItem(String itemName, String itemDescription, MetaType itemType)
AbstractCompositeMetaTypeaddItem in class AbstractCompositeMetaTypeitemName - the item nameitemDescription - the item descriptionitemType - the item typepublic void setKeys(Set<String> keySet)
AbstractCompositeMetaTypesetKeys in class AbstractCompositeMetaTypekeySet - the key setpublic void freeze()
public String toString()
toString in class AbstractCompositeMetaTypeCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.