Class AbstractDiagramType

java.lang.Object
com.nomagic.magicdraw.uml.AbstractDiagramType
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
DiagramType

@OpenApiAll public abstract class AbstractDiagramType extends Object implements Cloneable
DiagramType
  • Constructor Details

    • AbstractDiagramType

      public AbstractDiagramType()
  • Method Details

    • isTypeOf

      public abstract boolean isTypeOf(String type)
    • isTypeOf

      public final boolean isTypeOf(List<String> types)
      Checks if diagram type is of given diagram type (analogy of instanceof operator)
      Parameters:
      types - the list of diagram type string representation.
      Returns:
      true if this diagram type is a 'subtype' of at least one given diagram type or equal to at least one given diagram type; otherwise - false.
      See Also:
    • clone

      @OpenApi public AbstractDiagramType clone()
      Overrides:
      clone in class Object
    • getType

      public abstract String getType()
    • getStandardType

      public abstract String getStandardType()