Class UML2Constants


  • @OpenApi
    public class UML2Constants
    extends UML2Definitions
    This class contains various UML constants, predefined values and another similar stuff.
    • Field Detail

      • MAGICDRAW_PROFILE_NAME

        public static final java.lang.String MAGICDRAW_PROFILE_NAME
        Standard profiles names
        See Also:
        Constant Field Values
      • FILE_VIEW_STEREOTYPE

        public static final java.lang.String FILE_VIEW_STEREOTYPE
        See Also:
        Constant Field Values
      • ELSE_CLAUSE_CONSTRAINED_NAME

        public static final java.lang.String ELSE_CLAUSE_CONSTRAINED_NAME
        See Also:
        Constant Field Values
      • COMPOSITE_STRUCTURE_CLASSIFIER_ABBREVIATED_KEYWORD

        public static final java.lang.String COMPOSITE_STRUCTURE_CLASSIFIER_ABBREVIATED_KEYWORD
        See Also:
        Constant Field Values
      • INTERACTION_KEYWORD

        public static final java.lang.String INTERACTION_KEYWORD
        See Also:
        Constant Field Values
      • INTERACTION_ABBREVIATED_KEYWORD

        public static final java.lang.String INTERACTION_ABBREVIATED_KEYWORD
        See Also:
        Constant Field Values
      • COMPOSITE_STRUCTURE_COMPONENT_KEYWORD

        public static final java.lang.String COMPOSITE_STRUCTURE_COMPONENT_KEYWORD
        See Also:
        Constant Field Values
      • COMPOSITE_STRUCTURE_COMPONENT_ABBREVIATED_KEYWORD

        public static final java.lang.String COMPOSITE_STRUCTURE_COMPONENT_ABBREVIATED_KEYWORD
        See Also:
        Constant Field Values
      • PACKAGE_DIAGRAM_KEYWORD

        public static final java.lang.String PACKAGE_DIAGRAM_KEYWORD
        See Also:
        Constant Field Values
      • PACKAGE_DIAGRAM_ABBREVIATED_KEYWORD

        public static final java.lang.String PACKAGE_DIAGRAM_ABBREVIATED_KEYWORD
        See Also:
        Constant Field Values
      • STATE_DIAGRAM_KEYWORD

        public static final java.lang.String STATE_DIAGRAM_KEYWORD
        See Also:
        Constant Field Values
      • PROTOCOL_STATE_DIAGRAM_KEYWORD

        public static final java.lang.String PROTOCOL_STATE_DIAGRAM_KEYWORD
        See Also:
        Constant Field Values
      • STATE_DIAGRAM_ABBREVIATED_KEYWORD

        public static final java.lang.String STATE_DIAGRAM_ABBREVIATED_KEYWORD
        See Also:
        Constant Field Values
      • PROTOCOL_STATE_DIAGRAM_ABBREVIATED_KEYWORD

        public static final java.lang.String PROTOCOL_STATE_DIAGRAM_ABBREVIATED_KEYWORD
        See Also:
        Constant Field Values
      • ACTIVITY_DIAGRAM_KEYWORD

        public static final java.lang.String ACTIVITY_DIAGRAM_KEYWORD
        See Also:
        Constant Field Values
      • ACTIVITY_DIAGRAM_ABBREVIATED_KEYWORD

        public static final java.lang.String ACTIVITY_DIAGRAM_ABBREVIATED_KEYWORD
        See Also:
        Constant Field Values
      • USE_CASE_DIAGRAM_KEYWORD

        public static final java.lang.String USE_CASE_DIAGRAM_KEYWORD
        See Also:
        Constant Field Values
      • USE_CASE_DIAGRAM_ABBREVIATED_KEYWORD

        public static final java.lang.String USE_CASE_DIAGRAM_ABBREVIATED_KEYWORD
        See Also:
        Constant Field Values
      • AVAILABLE_NODE_INSTANCE_CLASSIFIERS

        public static final java.util.List AVAILABLE_NODE_INSTANCE_CLASSIFIERS
        The list of available classifier for node instance.
      • AVAILABLE_DEVICE_INSTANCE_CLASSIFIERS

        public static final java.util.List AVAILABLE_DEVICE_INSTANCE_CLASSIFIERS
        The list of available classifier for device instance.
      • AVAILABLE_EXECUTION_ENVIRONMENT_INSTANCE_CLASSIFIERS

        public static final java.util.List AVAILABLE_EXECUTION_ENVIRONMENT_INSTANCE_CLASSIFIERS
        The list of available classifier for execution environment instance.
      • AVAILABLE_COMPONENT_INSTANCE_CLASSIFIERS

        public static final java.util.List AVAILABLE_COMPONENT_INSTANCE_CLASSIFIERS
        The list of available classifier for component instance.
      • AVAILABLE_ARTIFACT_INSTANCE_CLASSIFIERS

        public static final java.util.List AVAILABLE_ARTIFACT_INSTANCE_CLASSIFIERS
        The list of available classifier for artifact instance.
      • AVAILABLE_DEPLOYMENT_SPECIFICATION_INSTANCE_CLASSIFIERS

        public static final java.util.List AVAILABLE_DEPLOYMENT_SPECIFICATION_INSTANCE_CLASSIFIERS
        The list of available classifier for deployment specification instance.
      • DEPRECATED_ANY_INSTANCE_CLASSIFIERS

        public static final java.util.List<java.lang.Class> DEPRECATED_ANY_INSTANCE_CLASSIFIERS
        The list of deprecated classifier for any instance.
      • AVAILABLE_ANY_INSTANCE_CLASSIFIERS

        public static final java.util.List<java.lang.Class> AVAILABLE_ANY_INSTANCE_CLASSIFIERS
        The list of available classifier for any instance.
      • CALL_MESSAGE

        @Deprecated
        public static final java.lang.String CALL_MESSAGE
        Deprecated.
        use com.nomagic.uml2.ext.magicdraw.interactions.mdbasicinteractions.MessageSortEnum#SYNCHCALL
        See Also:
        Constant Field Values
      • CREATE_MESSAGE

        @Deprecated
        public static final java.lang.String CREATE_MESSAGE
        Deprecated.
        use com.nomagic.uml2.ext.magicdraw.interactions.mdbasicinteractions.MessageSortEnum#CREATEMESSAGE
        See Also:
        Constant Field Values
      • REPLY_MESSAGE

        @Deprecated
        public static final java.lang.String REPLY_MESSAGE
        Deprecated.
        use com.nomagic.uml2.ext.magicdraw.interactions.mdbasicinteractions.MessageSortEnum#REPLY
        See Also:
        Constant Field Values
      • DESTROY_MESSAGE

        @Deprecated
        public static final java.lang.String DESTROY_MESSAGE
        Deprecated.
        use com.nomagic.uml2.ext.magicdraw.interactions.mdbasicinteractions.MessageSortEnum#DELETEMESSAGE
        See Also:
        Constant Field Values
      • SEND_MESSAGE

        @Deprecated
        public static final java.lang.String SEND_MESSAGE
        Deprecated.
        use com.nomagic.uml2.ext.magicdraw.interactions.mdbasicinteractions.MessageSortEnum#ASYNCHSIGNAL
        See Also:
        Constant Field Values
      • UNKNOWN_MESSAGE

        @Deprecated
        public static final java.lang.String UNKNOWN_MESSAGE
        Deprecated.
        use com.nomagic.uml2.ext.magicdraw.interactions.mdbasicinteractions.MessageKindEnum#UNKNOWN
        See Also:
        Constant Field Values
      • MESSAGE_TYPES

        @Deprecated
        public static final java.lang.String[] MESSAGE_TYPES
        Deprecated.
        use com.nomagic.uml2.ext.magicdraw.interactions.mdbasicinteractions.MessageKindEnum
      • MESSAGE_SORTS

        public static final MessageSort[] MESSAGE_SORTS
      • TODO_OWNER_STEREOTYPE

        public static final java.lang.String TODO_OWNER_STEREOTYPE
        See Also:
        Constant Field Values
      • CUSTOM_IMAGE_HOLDER_STEREOTYPE

        public static final java.lang.String CUSTOM_IMAGE_HOLDER_STEREOTYPE
        See Also:
        Constant Field Values
      • CUSTOM_IMAGE_CONTENT

        public static final java.lang.String CUSTOM_IMAGE_CONTENT
        See Also:
        Constant Field Values
      • CUSTOM_IMAGE_FORMAT

        public static final java.lang.String CUSTOM_IMAGE_FORMAT
        See Also:
        Constant Field Values
      • CUSTOM_IMAGE_LOCATION

        public static final java.lang.String CUSTOM_IMAGE_LOCATION
        See Also:
        Constant Field Values
      • AUTO_GENERATED_NAME

        public static final java.lang.String AUTO_GENERATED_NAME
        See Also:
        Constant Field Values
      • UML_AUXILIARY_RESOURCE_STEREOTYPE

        @OpenApi
        public static final java.lang.String UML_AUXILIARY_RESOURCE_STEREOTYPE
        See Also:
        Constant Field Values
      • UML_ENTITY_STEREOTYPE

        @OpenApi
        public static final java.lang.String UML_ENTITY_STEREOTYPE
        See Also:
        Constant Field Values
      • UML_CONTROL_STEREOTYPE

        @OpenApi
        public static final java.lang.String UML_CONTROL_STEREOTYPE
        See Also:
        Constant Field Values
      • UML_BOUNDARY_STEREOTYPE

        @OpenApi
        public static final java.lang.String UML_BOUNDARY_STEREOTYPE
        See Also:
        Constant Field Values
      • UML_GUI_STEREOTYPE

        @OpenApi
        public static final java.lang.String UML_GUI_STEREOTYPE
        See Also:
        Constant Field Values
      • UML_USECASEMODEL_STEREOTYPE

        @OpenApi
        public static final java.lang.String UML_USECASEMODEL_STEREOTYPE
        See Also:
        Constant Field Values
      • UML_UTILITY_STEREOTYPE

        @OpenApi
        public static final java.lang.String UML_UTILITY_STEREOTYPE
        See Also:
        Constant Field Values
      • UML_GETTER_STEREOTYPE

        @OpenApi
        public static final java.lang.String UML_GETTER_STEREOTYPE
        See Also:
        Constant Field Values
      • UML_SETTER_STEREOTYPE

        @OpenApi
        public static final java.lang.String UML_SETTER_STEREOTYPE
        See Also:
        Constant Field Values
      • UML_CONSTRUCTOR_STEREOTYPE

        @OpenApi
        public static final java.lang.String UML_CONSTRUCTOR_STEREOTYPE
        See Also:
        Constant Field Values
      • UML_CREATE_STEREOTYPE

        @Deprecated
        public static final java.lang.String UML_CREATE_STEREOTYPE
        Deprecated.
        use com.nomagic.uml2.StandardProfile.CreateStereotype
        See Also:
        Constant Field Values
      • UML_DESTRUCTOR_STEREOTYPE

        @OpenApi
        public static final java.lang.String UML_DESTRUCTOR_STEREOTYPE
        See Also:
        Constant Field Values
      • UML_BALKING_STEREOTYPE

        @OpenApi
        public static final java.lang.String UML_BALKING_STEREOTYPE
        See Also:
        Constant Field Values
      • UML_TIMEOUT_STEREOTYPE

        @OpenApi
        public static final java.lang.String UML_TIMEOUT_STEREOTYPE
        See Also:
        Constant Field Values
      • UML_DELEGATE_STEREOTYPE

        @OpenApi
        public static final java.lang.String UML_DELEGATE_STEREOTYPE
        See Also:
        Constant Field Values
      • UML_ASSEMBLY_STEREOTYPE

        @OpenApi
        public static final java.lang.String UML_ASSEMBLY_STEREOTYPE
        See Also:
        Constant Field Values
      • UML_SUBSYSTEM_STEREOTYPE

        @OpenApi
        public static final java.lang.String UML_SUBSYSTEM_STEREOTYPE
        See Also:
        Constant Field Values
      • UML_FLOWFINAL_STEREOTYPE

        @OpenApi
        public static final java.lang.String UML_FLOWFINAL_STEREOTYPE
        See Also:
        Constant Field Values
      • UML_STANDARD_PROFILE_NAME

        @OpenApi
        public static final java.lang.String UML_STANDARD_PROFILE_NAME
        See Also:
        Constant Field Values
      • DEPRECATED_UML_STANDARD_PROFILE_NAME

        @Deprecated
        public static final java.lang.String DEPRECATED_UML_STANDARD_PROFILE_NAME
        Deprecated.
        use STANDARD_PROFILE_L2
        old name of UML Standard profile, now it is renamed to StandardProfileL2 and StandardProfileL3
        See Also:
        Constant Field Values
      • STANDARD_PROFILE_L2

        @OpenApi
        @Deprecated
        public static final java.lang.String STANDARD_PROFILE_L2
        Deprecated.
        do not use anymore
        See Also:
        Constant Field Values
      • STANDARD_PROFILE_L3

        @OpenApi
        @Deprecated
        public static final java.lang.String STANDARD_PROFILE_L3
        Deprecated.
        do not use anymore
        See Also:
        Constant Field Values
      • STANDARD_PROFILE

        @OpenApi
        public static final java.lang.String STANDARD_PROFILE
        See Also:
        Constant Field Values
      • MAGICDRAW_PROFILE_PACKAGE

        @OpenApi
        public static final java.lang.String MAGICDRAW_PROFILE_PACKAGE
        See Also:
        Constant Field Values
      • MAGICDRAW_STANDARD_PROFILE_PACKAGE

        @OpenApi
        public static final java.lang.String MAGICDRAW_STANDARD_PROFILE_PACKAGE
        See Also:
        Constant Field Values
      • VALIDATION_PROFILE_NAME

        public static final java.lang.String VALIDATION_PROFILE_NAME
        See Also:
        Constant Field Values
      • DSL_CUSTOMIZATION_PROFILE_NAME

        public static final java.lang.String DSL_CUSTOMIZATION_PROFILE_NAME
        See Also:
        Constant Field Values
      • TRACEABILITY_CUSTOMIZATION_PROFILE_NAME

        public static final java.lang.String TRACEABILITY_CUSTOMIZATION_PROFILE_NAME
        Traceability customization profile name.
        See Also:
        Constant Field Values
      • UML_STANDARD_PROFILE_MODULE

        public static final java.lang.String UML_STANDARD_PROFILE_MODULE
        See Also:
        Constant Field Values
      • DEPENDENCY_MATRIX_PROFILE_NAME

        public static final java.lang.String DEPENDENCY_MATRIX_PROFILE_NAME
        See Also:
        Constant Field Values
      • FIND_BY_TEXT_PROFILE_NAME

        public static final java.lang.String FIND_BY_TEXT_PROFILE_NAME
        See Also:
        Constant Field Values
      • UML_OPERATOR_STEREOTYPE

        @OpenApi
        public static final java.lang.String UML_OPERATOR_STEREOTYPE
        See Also:
        Constant Field Values
      • UML_REALIZE_STEREOTYPE

        @OpenApi
        public static final java.lang.String UML_REALIZE_STEREOTYPE
        See Also:
        Constant Field Values
      • GETTER_SETTER_FOR_ATTRIBUTE

        @OpenApi
        public static final java.lang.String GETTER_SETTER_FOR_ATTRIBUTE
        Constants for setter getter prefixes (in tagged values)
        See Also:
        Constant Field Values
      • PREDEFINED_MULTIPLICITIES

        public static final java.lang.String[] PREDEFINED_MULTIPLICITIES
      • UNSPECIFIED_MULTIPLICITY

        public static final java.lang.String UNSPECIFIED_MULTIPLICITY
        Stores predefined multiplicities values.
      • PREDEFINED_MULTIPLICITIES_WITH_UNSPECIFIED

        public static final java.lang.String[] PREDEFINED_MULTIPLICITIES_WITH_UNSPECIFIED
      • PREDEFINED_EXTENSION_END_MULTIPLICITIES

        public static final java.lang.String[] PREDEFINED_EXTENSION_END_MULTIPLICITIES
      • PREDEFINED_EXTENSION_END_MULTIPLICITIES_WITH_UNSPECIFIED

        public static final java.lang.String[] PREDEFINED_EXTENSION_END_MULTIPLICITIES_WITH_UNSPECIFIED
      • USE_CASE_DIAGRAMS

        public static final java.util.List<java.lang.String> USE_CASE_DIAGRAMS
      • UML_INTERACTION_OPERATOR_REF

        public static final java.lang.String UML_INTERACTION_OPERATOR_REF
        See Also:
        Constant Field Values
      • CHANGEABLE_PSEUDO_STATE_KIND

        private static final java.util.HashMap<PseudostateKind,​java.util.List<PseudostateKind>> CHANGEABLE_PSEUDO_STATE_KIND
      • CHANGEABLE_TRANSITION_KIND

        private static final java.util.Map<TransitionKind,​java.util.List<TransitionKind>> CHANGEABLE_TRANSITION_KIND
    • Constructor Detail

      • UML2Constants

        private UML2Constants()
    • Method Detail

      • getChangeablePseudostateKind

        public static java.util.List<PseudostateKind> getChangeablePseudostateKind​(@CheckForNull
                                                                                   PseudostateKind kind)
        Returns list of pseudostate kinds available to change for given kind
      • getChangeableTransitionKind

        public static java.util.List<TransitionKind> getChangeableTransitionKind​(@CheckForNull
                                                                                 TransitionKind kind)