Package com.im.df.api.ddl
Class DFSchemas
- java.lang.Object
-
- com.im.df.api.ddl.DFSchemas
-
public final class DFSchemas extends java.lang.Object
Utility methods forDFSchema
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DFSchema
find(DFItem item)
Utility method finding parent schema for anyDFItem
type.static boolean
isSampleProject(DFSchema schema)
Tests if given schema is the Sample project schema.
-
-
-
Method Detail
-
find
public static DFSchema find(DFItem item)
Utility method finding parent schema for anyDFItem
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
-
-