public class DefaultDictionaryType extends BaseMetadataType implements DictionaryType
DictionaryTypeannotations| Constructor and Description |
|---|
DefaultDictionaryType(MetadataFormat metadataFormat,
Map<Class<? extends TypeAnnotation>,TypeAnnotation> extensions,
MetadataType keyType,
MetadataType valueType)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(MetadataTypeVisitor visitor)
Dispatches in a reflective way to the method with prefix "visit" with the specific type as argument.
|
MetadataType |
getKeyType() |
MetadataType |
getValueType() |
equals, getAnnotation, getAnnotations, getDescription, getMetadataFormat, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAnnotation, getAnnotations, getDescription, getMetadataFormatpublic DefaultDictionaryType(MetadataFormat metadataFormat, Map<Class<? extends TypeAnnotation>,TypeAnnotation> extensions, MetadataType keyType, MetadataType valueType)
metadataFormat - the MetadataFormatextensions - a Collection of type annotationskeyType - the MetadataType for the dictionary's keysvalueType - the MetadataType for the dictionary's valuespublic MetadataType getKeyType()
getKeyType in interface DictionaryTypeMetadataType for the dictionary's keyspublic MetadataType getValueType()
getValueType in interface DictionaryTypeMetadataType for the dictionary's valuespublic void accept(MetadataTypeVisitor visitor)
visitObject(ObjectType objectType) will be called when this type is an ObjectType.accept in interface MetadataTypevisitor - The visitorCopyright © 2016 MuleSoft, Inc.. All rights reserved.