Enum MagicDrawUMLDiagramKind
- java.lang.Object
-
- java.lang.Enum<MagicDrawUMLDiagramKind>
-
- com.sodius.mdw.metamodel.uml21.io.md.MagicDrawUMLDiagramKind
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MagicDrawUMLDiagramKind>
public enum MagicDrawUMLDiagramKind extends java.lang.Enum<MagicDrawUMLDiagramKind>
A representation of the literals of the enumeration 'MagicDraw UML Diagram Kind', and utility methods for working with them.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVITY_DIAGRAM
The 'Activity Diagram' literal object.CLASS_DIAGRAM
The 'Class Diagram' literal object.COMMUNICATION_DIAGRAM
The 'Communication Diagram' literal object.COMPONENT_DIAGRAM
The 'Component Diagram' literal object.COMPOSITE_STRUCTURE_DIAGRAM
The 'Composite Structure Diagram' literal object.CONTENT_DIAGRAM
The 'Content Diagram' literal object.DEPLOYMENT_DIAGRAM
The 'Deployment Diagram' literal object.IMPLEMENTATION_DIAGRAM
The 'Implementation Diagram' literal object.INTERACTION_DIAGRAM
The 'Interaction Diagram' literal object.INTERACTION_OVERVIEW_DIAGRAM
The 'Interaction Overview Diagram' literal object.OBJECT_DIAGRAM
The 'Object Diagram' literal object.PACKAGE_DIAGRAM
The 'Package Diagram' literal object.PROTOCOLE_STATE_MACHINE_DIAGRAM
The 'Protocol State Machine Diagram' literal object.SEQUENCE_DIAGRAM
The 'Sequence Diagram' literal object.STATE_MACHINE_DIAGRAM
The 'State Machine Diagram' literal object.USE_CASE_DIAGRAM
The 'Use Case Diagram' literal object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
static MagicDrawUMLDiagramKind
getValue(Diagram diagram)
Returns the MagicDrawUMLDiagramKind of the Diagram.static MagicDrawUMLDiagramKind
getValue(java.lang.String type)
Returns the MagicDrawUMLDiagramKind of the Diagram.static boolean
isContentDiagram(java.lang.String type)
static boolean
isProtocoleStateMachine(java.lang.String type)
static MagicDrawUMLDiagramKind
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MagicDrawUMLDiagramKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVITY_DIAGRAM
public static final MagicDrawUMLDiagramKind ACTIVITY_DIAGRAM
The 'Activity Diagram' literal object.
-
CLASS_DIAGRAM
public static final MagicDrawUMLDiagramKind CLASS_DIAGRAM
The 'Class Diagram' literal object.
-
COMPONENT_DIAGRAM
public static final MagicDrawUMLDiagramKind COMPONENT_DIAGRAM
The 'Component Diagram' literal object.
-
COMPOSITE_STRUCTURE_DIAGRAM
public static final MagicDrawUMLDiagramKind COMPOSITE_STRUCTURE_DIAGRAM
The 'Composite Structure Diagram' literal object.
-
COMMUNICATION_DIAGRAM
public static final MagicDrawUMLDiagramKind COMMUNICATION_DIAGRAM
The 'Communication Diagram' literal object.
-
DEPLOYMENT_DIAGRAM
public static final MagicDrawUMLDiagramKind DEPLOYMENT_DIAGRAM
The 'Deployment Diagram' literal object.
-
IMPLEMENTATION_DIAGRAM
public static final MagicDrawUMLDiagramKind IMPLEMENTATION_DIAGRAM
The 'Implementation Diagram' literal object.
-
INTERACTION_DIAGRAM
public static final MagicDrawUMLDiagramKind INTERACTION_DIAGRAM
The 'Interaction Diagram' literal object.
-
INTERACTION_OVERVIEW_DIAGRAM
public static final MagicDrawUMLDiagramKind INTERACTION_OVERVIEW_DIAGRAM
The 'Interaction Overview Diagram' literal object.
-
OBJECT_DIAGRAM
public static final MagicDrawUMLDiagramKind OBJECT_DIAGRAM
The 'Object Diagram' literal object.
-
SEQUENCE_DIAGRAM
public static final MagicDrawUMLDiagramKind SEQUENCE_DIAGRAM
The 'Sequence Diagram' literal object.
-
STATE_MACHINE_DIAGRAM
public static final MagicDrawUMLDiagramKind STATE_MACHINE_DIAGRAM
The 'State Machine Diagram' literal object.
-
USE_CASE_DIAGRAM
public static final MagicDrawUMLDiagramKind USE_CASE_DIAGRAM
The 'Use Case Diagram' literal object.
-
PROTOCOLE_STATE_MACHINE_DIAGRAM
public static final MagicDrawUMLDiagramKind PROTOCOLE_STATE_MACHINE_DIAGRAM
The 'Protocol State Machine Diagram' literal object.
-
CONTENT_DIAGRAM
public static final MagicDrawUMLDiagramKind CONTENT_DIAGRAM
The 'Content Diagram' literal object.
-
PACKAGE_DIAGRAM
public static final MagicDrawUMLDiagramKind PACKAGE_DIAGRAM
The 'Package Diagram' literal object.
-
-
Method Detail
-
values
public static MagicDrawUMLDiagramKind[] 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 (MagicDrawUMLDiagramKind c : MagicDrawUMLDiagramKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MagicDrawUMLDiagramKind 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 namejava.lang.NullPointerException
- if the argument is null
-
getName
public java.lang.String getName()
-
isProtocoleStateMachine
public static boolean isProtocoleStateMachine(java.lang.String type)
-
isContentDiagram
public static boolean isContentDiagram(java.lang.String type)
-
getValue
public static MagicDrawUMLDiagramKind getValue(Diagram diagram)
Returns the MagicDrawUMLDiagramKind of the Diagram.- Parameters:
diagram
- the diagram- Since:
- 19.0.4
-
getValue
public static MagicDrawUMLDiagramKind getValue(java.lang.String type)
Returns the MagicDrawUMLDiagramKind of the Diagram.- Parameters:
type
- the property 'type' of the diagram- Since:
- 19.0.4
-
-