Class DerbyPropertyAdapter
- java.lang.Object
-
- org.linuxforhealth.fhir.database.utils.common.JdbcPropertyAdapter
-
- org.linuxforhealth.fhir.database.utils.derby.DerbyPropertyAdapter
-
public class DerbyPropertyAdapter extends JdbcPropertyAdapter
Adapts properties to Derby
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CREATE_KEY
static java.lang.String
DERBY_MEMORY_KEY
-
Fields inherited from class org.linuxforhealth.fhir.database.utils.common.JdbcPropertyAdapter
DATABASE_KEY, DEFAULT_SCHEMA_KEY, HOST_KEY, PASSWORD_KEY, PORT_KEY, properties, USER_KEY
-
-
Constructor Summary
Constructors Constructor Description DerbyPropertyAdapter(java.util.Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDefaultSchema()
boolean
isAutoCreate()
Getter for the Derby create flagboolean
isMemory()
Getter for the Derby in-memory database flagvoid
setAutoCreate(boolean create)
Setter for the Derby create flag-
Methods inherited from class org.linuxforhealth.fhir.database.utils.common.JdbcPropertyAdapter
getDatabase, getExtraProperties, getHost, getPassword, getPort, getProperties, getUser, isValid, setDatabase, setDefaultSchema, setHost, setPassword, setPort, setUser
-
-
-
-
Field Detail
-
DERBY_MEMORY_KEY
public static final java.lang.String DERBY_MEMORY_KEY
- See Also:
- Constant Field Values
-
CREATE_KEY
public static final java.lang.String CREATE_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
isMemory
public boolean isMemory()
Getter for the Derby in-memory database flag- Returns:
-
setAutoCreate
public void setAutoCreate(boolean create)
Setter for the Derby create flag- Parameters:
create
-
-
isAutoCreate
public boolean isAutoCreate()
Getter for the Derby create flag- Returns:
-
getDefaultSchema
public java.lang.String getDefaultSchema()
- Overrides:
getDefaultSchema
in classJdbcPropertyAdapter
-
-