public class DisplayModelProperty extends Object implements ModelProperty
ModelProperty which provides a friendly display name and summary for any EnrichableModel.| Constructor and Description |
|---|
DisplayModelProperty(String displayName,
String summary)
Instantiates a new
DisplayModelProperty |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getDisplayName() |
String |
getName()
A unique name which identifies this property.
|
Optional<String> |
getSummary() |
boolean |
isExternalizable()
Whether this instance should be included when serializing or sharing
the owning
EnrichableModel or if on the contrary, this model property
holds information which is proprietary to the runtime and should not
communicated. |
public DisplayModelProperty(String displayName, String summary)
DisplayModelPropertydisplayName - nullable model display namesummary - nullable model summarypublic String getName()
getName in interface ModelPropertygetName in interface NameddisplayModelPropertypublic boolean isExternalizable()
EnrichableModel or if on the contrary, this model property
holds information which is proprietary to the runtime and should not
communicated.
Non externalizable properties should be skipped by serializers and any other kind of sharing mechanisms.
isExternalizable in interface ModelPropertytruepublic Optional<String> getDisplayName()
EnrichableModelpublic Optional<String> getSummary()
EnrichableModelCopyright © 2016 MuleSoft, Inc.. All rights reserved.