Package com.nomagic.uml2.diagram
Interface DiagramTypes
- All Known Subinterfaces:
DiagramTypeConstants
- All Known Implementing Classes:
DiagramType
@OpenApiAll
public interface DiagramTypes
This interface contains diagram types constants
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Content Diagramstatic final String
Dependency Matrixstatic final String
Generic Tablestatic final String
Glossary Tablestatic final String
Instance Tablestatic final String
Relation Map Diagramstatic final String
Activity diagram.static final String
Any diagram.static final String
Behavior diagram.static final String
Class diagram.static final String
Communication diagram.static final String
Component diagram.static final String
Composite Structure diagram.static final String
Deployment diagram.static final String
Interaction diagram.static final String
Interaction overview diagramstatic final String
Use Case diagram.static final String
Package diagram.static final String
Profile diagram.static final String
Protocol State Machine Diagram.static final String
Sequence diagram.static final String
Statechart diagram.static final String
Static diagram.static final String
Use Case diagram.static final String
User Interface Modeling Diagram -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getSuperType
(String type) Provides a super type for a given one if anystatic String
Provides type of given diagramstatic String
getUmlType
(Diagram diagram) Provides standard UML type (not a custom one) of given diagramstatic boolean
Checks if given specific type extends given generic type
-
Field Details
-
UML_CLASS_DIAGRAM
Class diagram.- See Also:
-
UML_USECASE_DIAGRAM
Use Case diagram.- See Also:
-
UML_OBJECT_DIAGRAM
Use Case diagram.- See Also:
-
UML_PACKAGE_DIAGRAM
Package diagram.- See Also:
-
UML_COMMUNICATION_DIAGRAM
Communication diagram.- See Also:
-
UML_SEQUENCE_DIAGRAM
Sequence diagram.- See Also:
-
UML_STATECHART_DIAGRAM
Statechart diagram.- See Also:
-
UML_PROTOCOL_STATE_MACHINE_DIAGRAM
Protocol State Machine Diagram.- See Also:
-
UML_ACTIVITY_DIAGRAM
Activity diagram.- See Also:
-
UML_COMPONENT_DIAGRAM
Component diagram.- See Also:
-
UML_DEPLOYMENT_DIAGRAM
Deployment diagram.- See Also:
-
UML_COMPOSITE_STRUCTURE_DIAGRAM
Composite Structure diagram.- See Also:
-
UML_INTERACTION_OVERVIEW_DIAGRAM
Interaction overview diagram- See Also:
-
UML_PROFILE_DIAGRAM
Profile diagram.- See Also:
-
UML_ANY_DIAGRAM
Any diagram.- See Also:
-
UML_STATIC_DIAGRAM
Static diagram.- See Also:
-
UML_BEHAVIOR_DIAGRAM
Behavior diagram.- See Also:
-
UML_INTERACTION_DIAGRAM
Interaction diagram.- See Also:
-
DEPENDENCY_MATRIX
Dependency Matrix- See Also:
-
CONTENT_DIAGRAM
Content Diagram- See Also:
-
RELATION_MAP_DIAGRAM
Relation Map Diagram- See Also:
-
GENERIC_TABLE
Generic Table- See Also:
-
GLOSSARY_TABLE
Glossary Table- See Also:
-
INSTANCE_TABLE
Instance Table- See Also:
-
USER_INTERFACE_MODELING_DIAGRAM
User Interface Modeling Diagram- See Also:
-
-
Method Details
-
getType
Provides type of given diagram- Parameters:
diagram
- diagram- Returns:
- diagram type
-
getUmlType
Provides standard UML type (not a custom one) of given diagram- Parameters:
diagram
- diagram- Returns:
- diagram type
-
isTypeOf
Checks if given specific type extends given generic type- Parameters:
specificType
- specific typegenericTypes
- generic type- Returns:
- true if extends
-
getSuperType
Provides a super type for a given one if any- Parameters:
type
- type- Returns:
- super type
-