org.eclipse.tigerstripe.profile.stereotype
Interface IStereotypeCapable
- All Known Subinterfaces:
- IAbstractArtifact, IAssociationArtifact, IAssociationClassArtifact, IAssociationEnd, IDatatypeArtifact, IDependencyArtifact, IEnumArtifact, IEventArtifact, IExceptionArtifact, IField, ILabel, IManagedEntityArtifact, IMethod, IMethod.IArgument, IModelComponent, IPrimitiveTypeArtifact, IQueryArtifact, ISessionArtifact, IUpdateProcedureArtifact
public interface IStereotypeCapable
Interface to be implemented by all components of the model that can be
annotated with Stereotypes.
- Author:
- Eric Dillon
getStereotypeInstances
IStereotypeInstance[] getStereotypeInstances()
- Returns an array of stereotype instances. These are the stereotypes (also
referred to as annotations) that are applied to this model component. If
there are no stereotypes applied to this component, the method returns
an empty array.
- Returns:
- array of IStereotypeInstance.
addStereotypeInstance
void addStereotypeInstance(IStereotypeInstance instance)
removeStereotypeInstance
void removeStereotypeInstance(IStereotypeInstance instance)
removeStereotypeInstances
void removeStereotypeInstances(IStereotypeInstance[] instances)