Class ProfileImplementation.StereotypeWrapper

    • Method Detail

      • apply

        @OpenApi
        public void apply​(Element element)
        Applies stereotype of this wrapper to given element.
        Parameters:
        element - element
      • unApply

        @OpenApi
        public void unApply​(Element element)
        Removes applied stereotype of this wrapper from given element.
        Parameters:
        element - element
      • getStereotype

        @OpenApi
        public abstract Stereotype getStereotype()
        Returns stereotype for this wrapper.
        Returns:
        stereotype
      • isSameOrDerivedStereotype

        @OpenApi
        public boolean isSameOrDerivedStereotype​(Stereotype stereotype)
        Returns:
        true if given stereotype is same or derived from this stereotype
        See Also:
        getStereotype()