Class MDCustomizationForSysMLProfile.AlternativesStereotype

  • Enclosing class:
    MDCustomizationForSysMLProfile

    public static class MDCustomizationForSysMLProfile.AlternativesStereotype
    extends com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private MDCustomizationForSysMLProfile _p  
      private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property kind  
      static java.lang.String KIND
      Kind of the source of alternatives.
      private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property source  
      static java.lang.String SOURCE
      Source of alternatives.
      static java.lang.String STEREOTYPE_NAME  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void clear()  
      void clearKind​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      void clearSource​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      MDCustomizationForSysMLProfile.SourceKindEnum getKind​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getKindProperty()  
      com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element getSource​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getSourceProperty()  
      com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype getStereotype()  
      boolean is​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      static boolean isInstance​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      void setKind​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, MDCustomizationForSysMLProfile.SourceKindEnum value)  
      void setSource​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)  
      • Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper

        apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • KIND

        public static final java.lang.String KIND
        Kind of the source of alternatives.
        See Also:
        Constant Field Values
      • SOURCE

        public static final java.lang.String SOURCE
        Source of alternatives. If the kind is specified as a Table, the source must be an Instance Table. If the kind is specified as Excel, the source must be an Instance Table linked to an Excel file or an ImportMap element. If the kind is specified as Subtypes, the source must be a parent Block of subtypes.
        See Also:
        Constant Field Values
      • kind

        @CheckForNull
        private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property kind
      • source

        @CheckForNull
        private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property source
    • Method Detail

      • getStereotype

        public com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype getStereotype()
        Specified by:
        getStereotype in class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
      • getKindProperty

        @CheckForNull
        public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getKindProperty()
      • getSourceProperty

        @CheckForNull
        public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getSourceProperty()
      • clearKind

        public void clearKind​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
      • setSource

        public void setSource​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element,
                              @CheckForNull
                              com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element value)
      • clearSource

        public void clearSource​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
      • getSource

        @CheckForNull
        public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element getSource​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
      • clear

        protected void clear()
      • is

        public boolean is​(@CheckForNull
                          com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
      • isInstance

        public static boolean isInstance​(@CheckForNull
                                         com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)