public class OperationModel extends Object implements ComponentModel
ExtensionModel.| Modifier | Constructor and Description |
|---|---|
protected |
OperationModel() |
|
OperationModel(String name,
String description,
List<ParameterGroupModel> parameterGroupModels,
DisplayModel displayModel,
boolean blocking,
Set<ErrorModel> errors,
OutputModel output,
OutputModel outputAttributes,
boolean transaction,
boolean requiresConnection,
boolean supportsStreaming,
StereotypeModel stereotype,
List<? extends NestableElementModel> nestedComponents,
MetadataKeyIdModel metadataKeyIdModel,
DeprecationModel deprecationModel) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Feature<DeprecationModel> |
getDeprecationModel() |
String |
getDescription()
Returns the component's description
|
Optional<DisplayModel> |
getDisplayModel() |
Set<ErrorModel> |
getErrorModels() |
Optional<MetadataKeyIdModel> |
getMetadataKeyIdModel() |
String |
getName()
Gets the name of the object
|
List<? extends NestableElementModel> |
getNestedComponents() |
OutputModel |
getOutput() |
OutputModel |
getOutputAttributes() |
Optional<ParameterGroupModel> |
getParameterGroupModel(String name) |
List<ParameterGroupModel> |
getParameterGroupModels() |
StereotypeModel |
getStereotype() |
int |
hashCode() |
boolean |
isBlocking() |
boolean |
isTransactional() |
boolean |
requiresConnection() |
boolean |
supportsStreaming() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAllParameterModelsprotected OperationModel()
public OperationModel(String name, String description, List<ParameterGroupModel> parameterGroupModels, DisplayModel displayModel, boolean blocking, Set<ErrorModel> errors, OutputModel output, OutputModel outputAttributes, boolean transaction, boolean requiresConnection, boolean supportsStreaming, StereotypeModel stereotype, List<? extends NestableElementModel> nestedComponents, MetadataKeyIdModel metadataKeyIdModel, DeprecationModel deprecationModel)
public String getName()
ComponentModelgetName in interface ComponentModelpublic String getDescription()
ComponentModelgetDescription in interface ComponentModelStringpublic List<ParameterGroupModel> getParameterGroupModels()
getParameterGroupModels in interface ComponentModelgroupspublic Optional<DisplayModel> getDisplayModel()
getDisplayModel in interface ComponentModelOptional DisplayModel which contains
directives about how this model should be displayed in the UIpublic Set<ErrorModel> getErrorModels()
getErrorModels in interface ComponentModelSet of ErrorModel with the possible errors that the current
component could throw.ErrorModelpublic boolean isBlocking()
public OutputModel getOutput()
public OutputModel getOutputAttributes()
public boolean isTransactional()
public boolean requiresConnection()
public boolean supportsStreaming()
public StereotypeModel getStereotype()
getStereotype in interface ComponentModelstereotypes which apply to this modelpublic List<? extends NestableElementModel> getNestedComponents()
getNestedComponents in interface ComponentModelList of components contained by
this modelpublic Optional<MetadataKeyIdModel> getMetadataKeyIdModel()
public Feature<DeprecationModel> getDeprecationModel()
public Optional<ParameterGroupModel> getParameterGroupModel(String name)
Copyright © 2020 MuleSoft, Inc.. All rights reserved.