public class ImmutableNestedComponentModel extends AbstractComponentModel implements org.mule.runtime.api.meta.model.nested.NestedComponentModel
NestedComponentModeldescription, modelProperties| Constructor and Description |
|---|
ImmutableNestedComponentModel(String name,
String description,
org.mule.runtime.api.meta.model.display.DisplayModel displayModel,
boolean isRequired,
Set<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypes,
Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
Creates a new instance
|
ImmutableNestedComponentModel(String name,
String description,
List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels,
int minOccurs,
Integer maxOccurs,
Set<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypes,
List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents,
org.mule.runtime.api.meta.model.display.DisplayModel displayModel,
Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors,
org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype,
Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties,
org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel,
Set<String> semanticTerms)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(org.mule.runtime.api.meta.model.ComponentModelVisitor visitor) |
void |
accept(org.mule.runtime.api.meta.model.nested.NestableElementModelVisitor visitor) |
Set<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> |
getAllowedStereotypes() |
Optional<Integer> |
getMaxOccurs() |
int |
getMinOccurs() |
boolean |
isRequired() |
getErrorModels, getNestedComponents, getSemanticTermsgetDeprecationModel, getStereotype, isDeprecatedgetParameterGroupModelscheckArgument, equals, getDisplayModel, getName, hashCode, toStringcopy, copy, getDescription, getModelProperties, getModelPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAllParameterModels, getParameterGroupModelsgetNestedComponentsgetStereotypegetModelProperties, getModelPropertygetDisplayModelpublic ImmutableNestedComponentModel(String name, String description, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, boolean isRequired, Set<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypes, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
name - the model's namedescription - the model's descriptionisRequired - whether or not this component is requiredallowedStereotypes - A Set of custom properties which extend this modeldisplayModel - a model containing directives about how this component is to be displayed in the UImodelProperties - A Set of custom properties which extend this modelIllegalArgumentException - if name is blankpublic ImmutableNestedComponentModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, int minOccurs, Integer maxOccurs, Set<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> allowedStereotypes, List<? extends org.mule.runtime.api.meta.model.nested.NestableElementModel> nestedComponents, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, Set<String> semanticTerms)
name - the model's namedescription - the model's descriptionparameterGroupModels - a List with the source's parameter group modelsminOccurs - the minimum number of instances required for this componentmaxOccurs - maximum amount of times that this component can be used inside the owning one. null means
unbounded.allowedStereotypes - a Set with the StereotypeModels that can be assigned to this nested element.nestedComponents - a List with the components contained by this modeldisplayModel - a model which contains directive about how this component is displayed in the UIstereotype - the stereotype of this componentmodelProperties - A Set of custom properties which extend this modeldeprecationModel - a DeprecationModel describing if the component is deprecated. A null value means it is
not deprecated.semanticTerms - a Set of semantic terms which describe the component's meaning and effectIllegalArgumentException - if name is blankpublic Set<org.mule.runtime.api.meta.model.stereotype.StereotypeModel> getAllowedStereotypes()
getAllowedStereotypes in interface org.mule.runtime.api.meta.model.nested.NestedComponentModelpublic boolean isRequired()
isRequired in interface org.mule.runtime.api.meta.model.nested.NestableElementModelisRequired in interface org.mule.runtime.api.meta.model.nested.NestedComponentModelpublic int getMinOccurs()
getMinOccurs in interface org.mule.runtime.api.meta.model.nested.NestableElementModelpublic Optional<Integer> getMaxOccurs()
getMaxOccurs in interface org.mule.runtime.api.meta.model.nested.NestableElementModelpublic void accept(org.mule.runtime.api.meta.model.ComponentModelVisitor visitor)
accept in interface org.mule.runtime.api.meta.model.ComponentModelpublic void accept(org.mule.runtime.api.meta.model.nested.NestableElementModelVisitor visitor)
accept in interface org.mule.runtime.api.meta.model.nested.NestableElementModelCopyright © 2022 MuleSoft, Inc.. All rights reserved.