public final class SubTypesModelProperty extends Object implements ModelProperty
MetadataType and its declared subTypes, which are concrete implementations
of the base Class| Constructor and Description |
|---|
SubTypesModelProperty(Map<org.mule.metadata.api.model.MetadataType,List<org.mule.metadata.api.model.MetadataType>> mapping)
Creates a new instance containing all the baseType-subTypes declarations
based on the
Class references of each type |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
A unique name which identifies this property.
|
Map<org.mule.metadata.api.model.MetadataType,List<org.mule.metadata.api.model.MetadataType>> |
getSubTypesMapping() |
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 SubTypesModelProperty(Map<org.mule.metadata.api.model.MetadataType,List<org.mule.metadata.api.model.MetadataType>> mapping)
Class references of each typemapping - concrete implementations of the baseTypepublic Map<org.mule.metadata.api.model.MetadataType,List<org.mule.metadata.api.model.MetadataType>> getSubTypesMapping()
public String getName()
getName in interface ModelPropertygetName in interface NamedsubTypesMappingpublic 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 ModelPropertyfalseCopyright © 2016 MuleSoft, Inc.. All rights reserved.