public class MongoDBAASAggregator extends Object implements org.eclipse.basyx.aas.aggregator.api.IAASAggregator
AASAggregator for the "InMemory"-variant| Constructor and Description |
|---|
MongoDBAASAggregator()
Constructor using default connections
|
MongoDBAASAggregator(BaSyxMongoDBConfiguration config)
Receives the path of the configuration.properties file in it's constructor.
|
MongoDBAASAggregator(String resourceConfigPath)
Receives the path of the .properties file in it's constructor from a resource.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createAAS(org.eclipse.basyx.aas.metamodel.map.AssetAdministrationShell aas) |
void |
deleteAAS(org.eclipse.basyx.submodel.metamodel.api.identifier.IIdentifier aasId) |
org.eclipse.basyx.aas.metamodel.api.IAssetAdministrationShell |
getAAS(org.eclipse.basyx.submodel.metamodel.api.identifier.IIdentifier aasId) |
Collection<org.eclipse.basyx.aas.metamodel.api.IAssetAdministrationShell> |
getAASList() |
org.eclipse.basyx.vab.modelprovider.api.IModelProvider |
getAASProvider(org.eclipse.basyx.submodel.metamodel.api.identifier.IIdentifier aasId) |
org.eclipse.basyx.aas.restapi.VABMultiSubmodelProvider |
getProviderForAASId(String aasId) |
void |
reset()
Removes all persistent AAS and submodels
|
void |
setConfiguration(BaSyxMongoDBConfiguration config)
Sets the db configuration for this Aggregator.
|
void |
setRegistry(org.eclipse.basyx.aas.registration.api.IAASRegistryService registry) |
void |
updateAAS(org.eclipse.basyx.aas.metamodel.map.AssetAdministrationShell aas) |
public MongoDBAASAggregator(BaSyxMongoDBConfiguration config)
configFilePath - public MongoDBAASAggregator(String resourceConfigPath)
public MongoDBAASAggregator()
public void setRegistry(org.eclipse.basyx.aas.registration.api.IAASRegistryService registry)
public void setConfiguration(BaSyxMongoDBConfiguration config)
config - public void reset()
public Collection<org.eclipse.basyx.aas.metamodel.api.IAssetAdministrationShell> getAASList()
getAASList in interface org.eclipse.basyx.aas.aggregator.api.IAASAggregatorpublic org.eclipse.basyx.aas.metamodel.api.IAssetAdministrationShell getAAS(org.eclipse.basyx.submodel.metamodel.api.identifier.IIdentifier aasId)
getAAS in interface org.eclipse.basyx.aas.aggregator.api.IAASAggregatorpublic void createAAS(org.eclipse.basyx.aas.metamodel.map.AssetAdministrationShell aas)
createAAS in interface org.eclipse.basyx.aas.aggregator.api.IAASAggregatorpublic void updateAAS(org.eclipse.basyx.aas.metamodel.map.AssetAdministrationShell aas)
updateAAS in interface org.eclipse.basyx.aas.aggregator.api.IAASAggregatorpublic void deleteAAS(org.eclipse.basyx.submodel.metamodel.api.identifier.IIdentifier aasId)
deleteAAS in interface org.eclipse.basyx.aas.aggregator.api.IAASAggregatorpublic org.eclipse.basyx.aas.restapi.VABMultiSubmodelProvider getProviderForAASId(String aasId)
public org.eclipse.basyx.vab.modelprovider.api.IModelProvider getAASProvider(org.eclipse.basyx.submodel.metamodel.api.identifier.IIdentifier aasId)
getAASProvider in interface org.eclipse.basyx.aas.aggregator.api.IAASAggregatorCopyright © 2021. All rights reserved.