Interface DiagramTypes

  • All Known Subinterfaces:
    DiagramTypeConstants
    All Known Implementing Classes:
    DiagramType

    @OpenApiAll
    public interface DiagramTypes
    This interface contains diagram types constants
    • Field Detail

      • UML_CLASS_DIAGRAM

        static final java.lang.String UML_CLASS_DIAGRAM
        Class diagram.
        See Also:
        Constant Field Values
      • UML_USECASE_DIAGRAM

        static final java.lang.String UML_USECASE_DIAGRAM
        Use Case diagram.
        See Also:
        Constant Field Values
      • UML_OBJECT_DIAGRAM

        static final java.lang.String UML_OBJECT_DIAGRAM
        Use Case diagram.
        See Also:
        Constant Field Values
      • UML_PACKAGE_DIAGRAM

        static final java.lang.String UML_PACKAGE_DIAGRAM
        Package diagram.
        See Also:
        Constant Field Values
      • UML_COMMUNICATION_DIAGRAM

        static final java.lang.String UML_COMMUNICATION_DIAGRAM
        Communication diagram.
        See Also:
        Constant Field Values
      • UML_SEQUENCE_DIAGRAM

        static final java.lang.String UML_SEQUENCE_DIAGRAM
        Sequence diagram.
        See Also:
        Constant Field Values
      • UML_STATECHART_DIAGRAM

        static final java.lang.String UML_STATECHART_DIAGRAM
        Statechart diagram.
        See Also:
        Constant Field Values
      • UML_PROTOCOL_STATE_MACHINE_DIAGRAM

        static final java.lang.String UML_PROTOCOL_STATE_MACHINE_DIAGRAM
        Protocol State Machine Diagram.
        See Also:
        Constant Field Values
      • UML_ACTIVITY_DIAGRAM

        static final java.lang.String UML_ACTIVITY_DIAGRAM
        Activity diagram.
        See Also:
        Constant Field Values
      • UML_COMPONENT_DIAGRAM

        static final java.lang.String UML_COMPONENT_DIAGRAM
        Component diagram.
        See Also:
        Constant Field Values
      • UML_DEPLOYMENT_DIAGRAM

        static final java.lang.String UML_DEPLOYMENT_DIAGRAM
        Deployment diagram.
        See Also:
        Constant Field Values
      • UML_COMPOSITE_STRUCTURE_DIAGRAM

        static final java.lang.String UML_COMPOSITE_STRUCTURE_DIAGRAM
        Composite Structure diagram.
        See Also:
        Constant Field Values
      • UML_INTERACTION_OVERVIEW_DIAGRAM

        static final java.lang.String UML_INTERACTION_OVERVIEW_DIAGRAM
        Interaction overview diagram
        See Also:
        Constant Field Values
      • UML_PROFILE_DIAGRAM

        static final java.lang.String UML_PROFILE_DIAGRAM
        Profile diagram.
        See Also:
        Constant Field Values
      • UML_ANY_DIAGRAM

        static final java.lang.String UML_ANY_DIAGRAM
        Any diagram.
        See Also:
        Constant Field Values
      • UML_STATIC_DIAGRAM

        static final java.lang.String UML_STATIC_DIAGRAM
        Static diagram.
        See Also:
        Constant Field Values
      • UML_BEHAVIOR_DIAGRAM

        static final java.lang.String UML_BEHAVIOR_DIAGRAM
        Behavior diagram.
        See Also:
        Constant Field Values
      • UML_INTERACTION_DIAGRAM

        static final java.lang.String UML_INTERACTION_DIAGRAM
        Interaction diagram.
        See Also:
        Constant Field Values
      • DEPENDENCY_MATRIX

        static final java.lang.String DEPENDENCY_MATRIX
        Dependency Matrix
        See Also:
        Constant Field Values
      • CONTENT_DIAGRAM

        static final java.lang.String CONTENT_DIAGRAM
        Content Diagram
        See Also:
        Constant Field Values
      • RELATION_MAP_DIAGRAM

        static final java.lang.String RELATION_MAP_DIAGRAM
        Relation Map Diagram
        See Also:
        Constant Field Values
      • GENERIC_TABLE

        static final java.lang.String GENERIC_TABLE
        Generic Table
        See Also:
        Constant Field Values
      • GLOSSARY_TABLE

        static final java.lang.String GLOSSARY_TABLE
        Glossary Table
        See Also:
        Constant Field Values
      • INSTANCE_TABLE

        static final java.lang.String INSTANCE_TABLE
        Instance Table
        See Also:
        Constant Field Values
      • USER_INTERFACE_MODELING_DIAGRAM

        static final java.lang.String USER_INTERFACE_MODELING_DIAGRAM
        User Interface Modeling Diagram
        See Also:
        Constant Field Values
    • Method Detail

      • getType

        @CheckForNull
        static java.lang.String getType​(Diagram diagram)
        Provides type of given diagram
        Parameters:
        diagram - diagram
        Returns:
        diagram type
      • getUmlType

        @CheckForNull
        static java.lang.String getUmlType​(Diagram diagram)
        Provides standard UML type (not a custom one) of given diagram
        Parameters:
        diagram - diagram
        Returns:
        diagram type
      • isTypeOf

        static boolean isTypeOf​(@CheckForNull
                                java.lang.String specificType,
                                java.lang.String genericTypes)
        Checks if given specific type extends given generic type
        Parameters:
        specificType - specific type
        genericTypes - generic type
        Returns:
        true if extends
      • getSuperType

        @CheckForNull
        static java.lang.String getSuperType​(java.lang.String type)
        Provides a super type for a given one if any
        Parameters:
        type - type
        Returns:
        super type