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
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      AbstractDiagramType clone()  
      abstract java.lang.String getType()  
      abstract boolean isTypeOf​(java.lang.String type)  
      boolean isTypeOf​(java.util.List<java.lang.String> types)
      Checks if diagram type is of given diagram type (analogy of instanceof operator)
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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()