- All Known Subinterfaces:
IAllowedValuesConstraint,IAssembly,IAssemblyDefinition,IAssemblyInstance,IAssemblyInstanceAbsolute,IAssemblyInstanceGrouped,IBindingDefinitionModel,IBindingDefinitionModelAssembly,IBoundDefinition,IBoundDefinitionFlag,IBoundDefinitionModel<ITEM>,IBoundDefinitionModelAssembly,IBoundDefinitionModelComplex,IBoundDefinitionModelField<ITEM>,IBoundDefinitionModelFieldComplex,IBoundInstanceFlag,IBoundInstanceModelAssembly,IBoundInstanceModelField<ITEM>,IBoundInstanceModelFieldComplex,IBoundInstanceModelFieldScalar,IBoundInstanceModelGroupedAssembly,IBoundInstanceModelGroupedField,IBoundInstanceModelGroupedNamed,IBoundInstanceModelNamed<ITEM>,ICardinalityConstraint,IConfigurableMessageConstraint,IConstraint,IDefinition,IExpectConstraint,IFeatureContainerFlag<FI>,IFeatureDefinitionInstanceInlined<DEFINITION,,INSTANCE> IFeatureDefinitionReferenceInstance<DEFINITION,,INSTANCE> IField,IFieldDefinition,IFieldInstance,IFieldInstanceAbsolute,IFieldInstanceGrouped,IFlag,IFlagDefinition,IFlagInstance,IIndexConstraint,IIndexHasKeyConstraint,IKeyConstraint,IMatchesConstraint,IModelDefinition,INamedInstance,INamedModelElement,INamedModelInstance,INamedModelInstanceAbsolute,INamedModelInstanceGrouped,IReportConstraint,IUniqueConstraint,IValuedDefinition,IValuedInstance
- All Known Implementing Classes:
AbstractAssemblyInstance,AbstractFieldInstance,AbstractFlagInstance,AbstractGlobalAssemblyDefinition,AbstractGlobalDefinition,AbstractGlobalFieldDefinition,AbstractGlobalFlagDefinition,AbstractInlineAssemblyDefinition,AbstractInlineFieldDefinition,AbstractInlineFlagDefinition,AbstractNamedInstance,AbstractNamedModelInstance
public interface IDescribable
Represents a model element that has a formal name and description.
This interface provides access to human-readable documentation properties that describe the purpose and usage of a model element.
-
Method Summary
Modifier and TypeMethodDescriptionGet the text that describes the basic use of the element.default MarkupLineGet the text that describes the basic use of the element, which allows an instance to override a definition's description.default StringThe resolved formal display name, which allows an instance to override a definition's name.The formal display name.
-
Method Details
-
getFormalName
The formal display name.- Returns:
- the formal name or
nullif not defined
-
getDescription
Get the text that describes the basic use of the element.- Returns:
- a line of markup text or
nullif not defined
-
getEffectiveFormalName
The resolved formal display name, which allows an instance to override a definition's name.- Returns:
- the formal name or
nullif not defined
-
getEffectiveDescription
Get the text that describes the basic use of the element, which allows an instance to override a definition's description.- Returns:
- a line of markup text or
nullif not defined
-