Enum MagicDrawSysMLDiagramKind

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<MagicDrawSysMLDiagramKind>

    public enum MagicDrawSysMLDiagramKind
    extends java.lang.Enum<MagicDrawSysMLDiagramKind>
    A representation of the literals of the enumeration 'MagicDraw SysML Diagram Kind', and utility methods for working with them.
    • Enum Constant Detail

      • SYSML_ACTIVITY_DIAGRAM

        public static final MagicDrawSysMLDiagramKind SYSML_ACTIVITY_DIAGRAM
        The 'SysML Activity Diagram' literal object.
      • SYSML_BLOCK_DEFINITION_DIAGRAM

        public static final MagicDrawSysMLDiagramKind SYSML_BLOCK_DEFINITION_DIAGRAM
        The 'SysML Block Definition Diagram' literal object.
      • SYSML_INTERNAL_BLOCK_DIAGRAM

        public static final MagicDrawSysMLDiagramKind SYSML_INTERNAL_BLOCK_DIAGRAM
        The 'SysML Internal Block Diagram' literal object.
      • SYSML_PARAMETRIC_DIAGRAM

        public static final MagicDrawSysMLDiagramKind SYSML_PARAMETRIC_DIAGRAM
        The 'SysML Parametric Diagram' literal object.
      • REQUIREMENT_DIAGRAM

        public static final MagicDrawSysMLDiagramKind REQUIREMENT_DIAGRAM
        The 'Requirement Diagram' literal object.
      • SYSML_PACKAGE_DIAGRAM

        public static final MagicDrawSysMLDiagramKind SYSML_PACKAGE_DIAGRAM
        The 'SysML Package Diagram' literal object.
      • SYSML_SEQUENCE_DIAGRAM

        public static final MagicDrawSysMLDiagramKind SYSML_SEQUENCE_DIAGRAM
        The 'SysML Sequence Diagram' literal object.
      • SYSML_STATE_MACHINE_DIAGRAM

        public static final MagicDrawSysMLDiagramKind SYSML_STATE_MACHINE_DIAGRAM
        The 'SysML State Machine Diagram' literal object.
      • SYSML_USE_CASE_DIAGRAM

        public static final MagicDrawSysMLDiagramKind SYSML_USE_CASE_DIAGRAM
        The 'SysML Use Case Diagram' literal object.
    • Method Detail

      • values

        public static MagicDrawSysMLDiagramKind[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MagicDrawSysMLDiagramKind c : MagicDrawSysMLDiagramKind.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MagicDrawSysMLDiagramKind valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getName

        public java.lang.String getName()
      • getValue

        public static MagicDrawSysMLDiagramKind getValue​(Diagram diagram)
        Returns the MagicDrawSysMLDiagramKind of the Diagram.
        Parameters:
        diagram - the diagram
        Since:
        19.0.4
      • getValue

        public static MagicDrawSysMLDiagramKind getValue​(java.lang.String type)
        Returns the MagicDrawSysMLDiagramKind of the Diagram.
        Parameters:
        type - the property 'type' of the diagram
        Since:
        19.0.4