public class TypeDefinition extends Object
Class for the domain object to be created.| Modifier and Type | Class and Description |
|---|---|
static class |
TypeDefinition.MapEntryType<KeyType,ValueType>
Instances of this class represent the type of a map entry.
|
| Modifier and Type | Method and Description |
|---|---|
static TypeDefinition |
fromConfigurationAttribute(String configAttributeName) |
static TypeDefinition |
fromMapEntryType(Class<?> keyType,
Class<?> valueType) |
static TypeDefinition |
fromType(Class<?> type)
Defines the object type that will be created for the component.
|
void |
visit(TypeDefinitionVisitor typeDefinitionVisitor) |
public static TypeDefinition fromType(Class<?> type)
Collection, List, Set interfaces. In those
cases the runtime will use a default implementation.type - Class of the domain model to be created.TypeDefinition created from that type.public static TypeDefinition fromConfigurationAttribute(String configAttributeName)
configAttributeName - name of the configuration attribute that defines the domain object type.TypeDefinition created from that type.public void visit(TypeDefinitionVisitor typeDefinitionVisitor)
public static TypeDefinition fromMapEntryType(Class<?> keyType, Class<?> valueType)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.