public class ObjectTypeVisitor extends Object implements TypeDefinitionVisitor
ComponentModel object Class based on the component configuration.| Modifier and Type | Field and Description |
|---|---|
static Class<ArrayList> |
DEFAULT_COLLECTION_TYPE |
| Constructor and Description |
|---|
ObjectTypeVisitor(ComponentModel componentModel) |
| Modifier and Type | Method and Description |
|---|---|
Optional<TypeDefinition.MapEntryType> |
getMapEntryType() |
Class<?> |
getType() |
void |
onConfigurationAttribute(String attributeName,
Class<?> inforcedClass) |
void |
onMapType(TypeDefinition.MapEntryType mapEntryType) |
void |
onType(Class<?> type) |
public ObjectTypeVisitor(ComponentModel componentModel)
public void onType(Class<?> type)
onType in interface TypeDefinitionVisitorpublic void onConfigurationAttribute(String attributeName, Class<?> inforcedClass)
onConfigurationAttribute in interface TypeDefinitionVisitorpublic void onMapType(TypeDefinition.MapEntryType mapEntryType)
onMapType in interface TypeDefinitionVisitorpublic Class<?> getType()
public Optional<TypeDefinition.MapEntryType> getMapEntryType()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.