Class DFSchemas


  • public final class DFSchemas
    extends java.lang.Object
    Utility methods for DFSchema.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static DFSchema find​(DFItem item)
      Utility method finding parent schema for any DFItem type.
      static boolean isSampleProject​(DFSchema schema)
      Tests if given schema is the Sample project schema.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • find

        public static DFSchema find​(DFItem item)
        Utility method finding parent schema for any DFItem type.
        Parameters:
        item - the item for which schema shall be found
        Returns:
        found schema; never null
      • isSampleProject

        public static boolean isSampleProject​(DFSchema schema)
        Tests if given schema is the Sample project schema.
        Parameters:
        schema - tested schema
        Returns:
        true for Sample project schema, false otherwise
        Since:
        21.15.0