public class BaSyxMongoDBConfiguration extends BaSyxConfiguration
| Modifier and Type | Field and Description |
|---|---|
static String |
AAS_COLLECTION |
static String |
CONNECTIONURL |
static String |
DATABASE |
static String |
DEFAULT_AAS_COLLECTION |
static String |
DEFAULT_CONFIG_PATH |
static String |
DEFAULT_CONNECTIONURL |
static String |
DEFAULT_DATABASE |
static String |
DEFAULT_FILE_KEY |
static String |
DEFAULT_REGISTRY_COLLECTION |
static String |
DEFAULT_SUBMODEL_COLLECTION |
static String |
DEFAULT_USER |
static String |
REGISTRY_COLLECTION |
static String |
SUBMODEL_COLLECTION |
static String |
USER |
| Constructor and Description |
|---|
BaSyxMongoDBConfiguration()
Empty Constructor - use default values
|
BaSyxMongoDBConfiguration(Map<String,String> values)
Constructor with predefined value map
|
BaSyxMongoDBConfiguration(String user,
String connectionUrl,
String database,
String registryCollection)
Constructor with initial configuration (without aas collection)
|
BaSyxMongoDBConfiguration(String user,
String connectionUrl,
String database,
String aasCollection,
String submodelCollection)
Constructor with initial configuration (without registry collection)
|
BaSyxMongoDBConfiguration(String user,
String connectionUrl,
String database,
String registryCollection,
String aasCollection,
String submodelCollection)
Constructor with initial configuration
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAASCollection() |
String |
getConnectionUrl() |
String |
getDatabase() |
static Map<String,String> |
getDefaultProperties() |
String |
getRegistryCollection() |
String |
getSubmodelCollection() |
String |
getUser() |
void |
loadFromDefaultSource() |
void |
setAASCollection(String aasCollection) |
void |
setConnectionUrl(String connectionUrl) |
void |
setDatabase(String database) |
void |
setRegistryCollection(String registryCollection) |
void |
setSubmodelCollection(String submodelCollection) |
void |
setUser(String user) |
getProperties, getProperty, getResourceStream, getResourceString, loadFileOrDefaultResource, loadFromFile, loadFromProperties, loadFromResource, loadFromStream, setPropertypublic static final String DEFAULT_USER
public static final String DEFAULT_CONNECTIONURL
public static final String DEFAULT_DATABASE
public static final String DEFAULT_REGISTRY_COLLECTION
public static final String DEFAULT_AAS_COLLECTION
public static final String DEFAULT_SUBMODEL_COLLECTION
public static final String USER
public static final String DATABASE
public static final String CONNECTIONURL
public static final String REGISTRY_COLLECTION
public static final String AAS_COLLECTION
public static final String SUBMODEL_COLLECTION
public static final String DEFAULT_CONFIG_PATH
public static final String DEFAULT_FILE_KEY
public BaSyxMongoDBConfiguration(Map<String,String> values)
public BaSyxMongoDBConfiguration()
public BaSyxMongoDBConfiguration(String user, String connectionUrl, String database, String registryCollection, String aasCollection, String submodelCollection)
user - The username for the mongodbconnectionUrl - Connection-URL for the mongodbdatabase - The database that shall be usedregistryCollection - Collection name for the registry dataaasCollection - Collection name for the AAS datasubmodelCollection - Collection name for the submodel datapublic BaSyxMongoDBConfiguration(String user, String connectionUrl, String database, String aasCollection, String submodelCollection)
user - The username for the mongodbconnectionUrl - Connection-URL for the mongodbdatabase - The database that shall be usedaasCollection - Collection name for the AAS datasubmodelCollection - Collection name for the submodel datapublic BaSyxMongoDBConfiguration(String user, String connectionUrl, String database, String registryCollection)
user - The username for the mongodbconnectionUrl - Connection-URL for the mongodbdatabase - The database that shall be usedaasCollection - Collection name for the AAS datasubmodelCollection - Collection name for the submodel datapublic void loadFromDefaultSource()
public String getUser()
public void setUser(String user)
public String getDatabase()
public void setDatabase(String database)
public String getConnectionUrl()
public void setConnectionUrl(String connectionUrl)
public String getRegistryCollection()
public void setRegistryCollection(String registryCollection)
public String getAASCollection()
public void setAASCollection(String aasCollection)
public String getSubmodelCollection()
public void setSubmodelCollection(String submodelCollection)
Copyright © 2021. All rights reserved.