public class OntopModelSettingsImpl extends Object implements OntopModelSettings
OntopModelSettings.CardinalityPreservationModeCARDINALITY_MODE, TEST_MODE| Modifier | Constructor and Description |
|---|---|
protected |
OntopModelSettingsImpl(Properties userProperties)
Beware: immutable class!
Recommended constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Object key) |
protected Properties |
copyProperties() |
Object |
get(Object key)
Returns the value of the given key.
|
OntopModelSettings.CardinalityPreservationMode |
getCardinalityPreservationMode()
TODO: make it configurable
|
Optional<String> |
getProperty(String key)
Returns the string value of the given key.
|
protected Enumeration<Object> |
getPropertyKeys() |
boolean |
isTestModeEnabled() |
protected static Properties |
loadDefaultPropertiesFromFile(Class localClass,
String fileName) |
protected OntopModelSettingsImpl(Properties userProperties)
protected static Properties loadDefaultPropertiesFromFile(Class localClass, String fileName)
public OntopModelSettings.CardinalityPreservationMode getCardinalityPreservationMode()
getCardinalityPreservationMode in interface OntopModelSettingspublic boolean isTestModeEnabled()
isTestModeEnabled in interface OntopModelSettingspublic Optional<String> getProperty(String key)
getProperty in interface OntopModelSettingspublic boolean contains(Object key)
contains in interface OntopModelSettingsprotected Properties copyProperties()
protected Enumeration<Object> getPropertyKeys()
Copyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.