Class AbstractDiagramType

  • All Implemented Interfaces:
    java.lang.Cloneable
    Direct Known Subclasses:
    DiagramType

    @OpenApiAll
    public abstract class AbstractDiagramType
    extends java.lang.Object
    implements java.lang.Cloneable
    DiagramType
    • Constructor Detail

      • AbstractDiagramType

        public AbstractDiagramType()
    • Method Detail

      • isTypeOf

        public abstract boolean isTypeOf​(java.lang.String type)
      • isTypeOf

        public final boolean isTypeOf​(java.util.List<java.lang.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:
        isTypeOf(String)
      • clone

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

        public abstract java.lang.String getType()
      • getStandardType

        public abstract java.lang.String getStandardType()