Class SchemaApplyContext
- java.lang.Object
-
- org.linuxforhealth.fhir.database.utils.api.SchemaApplyContext
-
public class SchemaApplyContext extends java.lang.Object
Used to control how the schema gets applied
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SchemaApplyContext.Builder
Builder forSchemaApplyContext
-
Constructor Summary
Constructors Modifier Constructor Description protected
SchemaApplyContext(boolean includeForeignKeys)
Protected constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SchemaApplyContext.Builder
builder()
Create a newSchemaApplyContext.Builder
instancestatic SchemaApplyContext
getDefault()
Get a default instance of the schema apply contextboolean
isIncludeForeignKeys()
Get the includeForeignKeys flag
-
-
-
Method Detail
-
isIncludeForeignKeys
public boolean isIncludeForeignKeys()
Get the includeForeignKeys flag- Returns:
-
builder
public static SchemaApplyContext.Builder builder()
Create a newSchemaApplyContext.Builder
instance- Returns:
-
getDefault
public static SchemaApplyContext getDefault()
Get a default instance of the schema apply context- Returns:
-
-