Interface DiagramTypes

All Known Subinterfaces:
DiagramTypeConstants
All Known Implementing Classes:
DiagramType

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

  • Method Details

    • getType

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

      @CheckForNull static 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 String specificType, 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 String getSuperType(String type)
      Provides a super type for a given one if any
      Parameters:
      type - type
      Returns:
      super type