public abstract class AbstractNamedImmutableModel extends AbstractImmutableModel implements Named
Named introspection models| Modifier | Constructor and Description |
|---|---|
protected |
AbstractNamedImmutableModel(String name,
String description,
Set<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 |
String |
getName()
Returns the component's name
|
int |
hashCode()
Calculates hashcode based on
getName() |
String |
toString() |
getDescription, getModelProperties, getModelPropertyprotected AbstractNamedImmutableModel(String name, String description, Set<ModelProperty> modelProperties)
name - the model's namedescription - the model's descriptionmodelProperties - A Set of custom properties which extend this modelIllegalArgumentException - if name is blankprotected static void checkArgument(boolean condition,
String message)
public final String getName()
public boolean equals(Object obj)
getName() attributespublic int hashCode()
getName()public String toString()
toString in class AbstractImmutableModelCopyright © 2016 MuleSoft, Inc.. All rights reserved.