Class MagicDrawProfile.SmartPackageStereotype

java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.uml2.MagicDrawProfile.SmartPackageStereotype
Enclosing class:
MagicDrawProfile

public static class MagicDrawProfile.SmartPackageStereotype extends ProfileImplementation.StereotypeWrapper
  • Field Details

    • STEREOTYPE_NAME

      public static final String STEREOTYPE_NAME
      See Also:
    • ADDITIONALELEMENTS

      public static final String ADDITIONALELEMENTS
      See Also:
    • EXCLUDEDELEMENTS

      public static final String EXCLUDEDELEMENTS
      See Also:
    • FROZEN

      public static final String FROZEN
      Suspend the calculation of Smart Package content. Select Refresh Contents to update the content.
      See Also:
    • FROZENCONTENTS

      public static final String FROZENCONTENTS
      See Also:
    • QUERY

      public static final String QUERY
      See Also:
    • USEINSELECTIONDIALOGS

      public static final String USEINSELECTIONDIALOGS
      This option determines whether contents of this smart package should be calculated and taken into account when operating in various Select Element dialogs. Having this option on may help you to pick elements in Select Element dialog, but it also incurs performance penalty. If your smart package contains a slow-running computation - such as Find - you may want to keep this option off for performance reasons.
      See Also:
  • Constructor Details

    • SmartPackageStereotype

      protected SmartPackageStereotype(MagicDrawProfile profile)
  • Method Details

    • getStereotype

      public Stereotype getStereotype()
      Description copied from class: ProfileImplementation.StereotypeWrapper
      Returns stereotype for this wrapper.
      Specified by:
      getStereotype in class ProfileImplementation.StereotypeWrapper
      Returns:
      stereotype
    • getAdditionalElementsProperty

      @CheckForNull public Property getAdditionalElementsProperty()
    • getExcludedElementsProperty

      @CheckForNull public Property getExcludedElementsProperty()
    • getFrozenProperty

      @CheckForNull public Property getFrozenProperty()
    • getFrozenContentsProperty

      @CheckForNull public Property getFrozenContentsProperty()
    • getQueryProperty

      @CheckForNull public Property getQueryProperty()
    • getUseInSelectionDialogsProperty

      @CheckForNull public Property getUseInSelectionDialogsProperty()
    • setAdditionalElements

      public void setAdditionalElements(Element element, @CheckForNull Collection<? extends Element> value)
    • clearAdditionalElements

      public void clearAdditionalElements(Element element)
    • addAdditionalElements

      public void addAdditionalElements(Element element, Element value)
    • removeAdditionalElements

      public void removeAdditionalElements(Element element, Element value)
    • getAdditionalElements

      public List<Element> getAdditionalElements(Element element)
    • setExcludedElements

      public void setExcludedElements(Element element, @CheckForNull Collection<? extends Element> value)
    • clearExcludedElements

      public void clearExcludedElements(Element element)
    • addExcludedElements

      public void addExcludedElements(Element element, Element value)
    • removeExcludedElements

      public void removeExcludedElements(Element element, Element value)
    • getExcludedElements

      public List<Element> getExcludedElements(Element element)
    • setFrozen

      public void setFrozen(Element element, @CheckForNull Boolean value)
    • clearFrozen

      public void clearFrozen(Element element)
    • isFrozen

      @CheckForNull public Boolean isFrozen(Element element)
    • setFrozenContents

      public void setFrozenContents(Element element, @CheckForNull Collection<? extends Element> value)
    • clearFrozenContents

      public void clearFrozenContents(Element element)
    • addFrozenContents

      public void addFrozenContents(Element element, Element value)
    • removeFrozenContents

      public void removeFrozenContents(Element element, Element value)
    • getFrozenContents

      public List<Element> getFrozenContents(Element element)
    • setQuery

      public void setQuery(Element element, @CheckForNull Object value)
    • clearQuery

      public void clearQuery(Element element)
    • getQuery

      @CheckForNull public Object getQuery(Element element)
    • setUseInSelectionDialogs

      public void setUseInSelectionDialogs(Element element, @CheckForNull Boolean value)
    • clearUseInSelectionDialogs

      public void clearUseInSelectionDialogs(Element element)
    • isUseInSelectionDialogs

      @CheckForNull public Boolean isUseInSelectionDialogs(Element element)
    • clear

      protected void clear()
    • is

      public boolean is(@CheckForNull Element element)
    • isInstance

      public static boolean isInstance(@CheckForNull Element element)