public abstract class AbstractNamedImmutableModel extends AbstractImmutableModel implements org.mule.runtime.api.meta.NamedObject, org.mule.runtime.api.meta.model.display.HasDisplayModel
NamedObject introspection modelsdescription, modelProperties| Modifier | Constructor and Description |
|---|---|
protected |
AbstractNamedImmutableModel(String name,
String description,
org.mule.runtime.api.meta.model.display.DisplayModel displayModel,
Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
checkArgument(boolean condition,
String message) |
boolean |
equals(Object obj)
Defines object equality based on the given object
being an object of this class and in the equality
of the
getName() attributes |
Optional<org.mule.runtime.api.meta.model.display.DisplayModel> |
getDisplayModel() |
String |
getName() |
int |
hashCode()
Calculates hashcode based on
getName() |
String |
toString() |
copy, copy, getDescription, getModelProperties, getModelPropertyprotected AbstractNamedImmutableModel(String name, String description, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
name - the model's namedescription - the model's descriptiondisplayModel - 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 blankprotected static void checkArgument(boolean condition,
String message)
public final String getName()
getName in interface org.mule.runtime.api.meta.NamedObjectpublic Optional<org.mule.runtime.api.meta.model.display.DisplayModel> getDisplayModel()
getDisplayModel in interface org.mule.runtime.api.meta.model.display.HasDisplayModelpublic boolean equals(Object obj)
getName() attributespublic int hashCode()
getName()public String toString()
toString in class AbstractImmutableModelCopyright © 2017 MuleSoft, Inc.. All rights reserved.