public class TypeDslAnnotation extends Object implements org.mule.metadata.api.annotation.TypeAnnotation
TypeAnnotation storing information defined by TypsDsl annotations| Constructor and Description |
|---|
TypeDslAnnotation(boolean allowInlineDefinition,
boolean allowTopLevelDefinition,
SubstitutionGroup substitutionGroup,
DslBaseType dslBaseType)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsInlineDefinition() |
boolean |
allowsTopLevelDefinition() |
boolean |
equals(Object obj) |
Optional<DslBaseType> |
getDslBaseType() |
String |
getName() |
Optional<SubstitutionGroup> |
getSubstitutionGroup() |
int |
hashCode() |
public static final String NAME
public TypeDslAnnotation(boolean allowInlineDefinition,
boolean allowTopLevelDefinition,
SubstitutionGroup substitutionGroup,
DslBaseType dslBaseType)
allowInlineDefinition - whether the associated element should support inline definition as child elementallowTopLevelDefinition - whether the associated element should support being defined as a top level elementsubstitutionGroup - the substitutionGroup that the xml element should have as attributedslBaseType - the dslBaseType that the type should declare as base attributepublic String getName()
getName in interface org.mule.metadata.api.annotation.TypeAnnotationtypeDslpublic boolean allowsInlineDefinition()
public boolean allowsTopLevelDefinition()
public Optional<SubstitutionGroup> getSubstitutionGroup()
Optional.empty() if not definedpublic Optional<DslBaseType> getDslBaseType()
Optional.empty() it not definedCopyright © 2020 MuleSoft, Inc.. All rights reserved.