Class AasRestInvocablesCreator
java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx2.AbstractAasRestInvocablesCreator
de.iip_ecosphere.platform.support.aas.basyx2.AasRestInvocablesCreator
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.aas.InvocablesCreator,Serializable
implements an invocables creator for AAS-REST.
- Author:
- Holger Eichelberger, SSE
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.iip_ecosphere.platform.support.aas.basyx2.AbstractAasRestInvocablesCreator
AbstractAasRestInvocablesCreator.Operation -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprivate static final longprivate org.eclipse.digitaltwin.basyx.submodelrepository.client.ConnectedSubmodelRepositoryprivate de.iip_ecosphere.platform.support.aas.SetupSpecFields inherited from interface de.iip_ecosphere.platform.support.aas.InvocablesCreator
NULL_CREATOR, READ_ONLY, WRITE_ONLY -
Constructor Summary
ConstructorsConstructorDescriptionAasRestInvocablesCreator(de.iip_ecosphere.platform.support.aas.SetupSpec spec) Creates an invocables creator instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcomposeUrl(String suffix) Composes a server URL from the given URLsuffix.protected StringgetId()Returns an identifier for the underlying connection, e.g., host + port.protected org.eclipse.digitaltwin.basyx.submodelrepository.client.ConnectedSubmodelRepositoryReturns the submodel repository to delegate calls to.protected StringReturns the submodel repository to delegate calls to.Methods inherited from class de.iip_ecosphere.platform.support.aas.basyx2.AbstractAasRestInvocablesCreator
createGetter, createInvocable, createSetter, executableCreator, fixNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.iip_ecosphere.platform.support.aas.InvocablesCreator
setLogLevel
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
id
-
spec
private de.iip_ecosphere.platform.support.aas.SetupSpec spec -
smRepo
private org.eclipse.digitaltwin.basyx.submodelrepository.client.ConnectedSubmodelRepository smRepo -
schemaPrefix
-
-
Constructor Details
-
AasRestInvocablesCreator
AasRestInvocablesCreator(de.iip_ecosphere.platform.support.aas.SetupSpec spec) Creates an invocables creator instance.- Parameters:
spec- the setup specification
-
-
Method Details
-
getId
Description copied from class:AbstractAasRestInvocablesCreatorReturns an identifier for the underlying connection, e.g., host + port.- Specified by:
getIdin classAbstractAasRestInvocablesCreator- Returns:
- the identifier
-
composeUrl
Description copied from class:AbstractAasRestInvocablesCreatorComposes a server URL from the given URLsuffix.- Specified by:
composeUrlin classAbstractAasRestInvocablesCreator- Parameters:
suffix- the URL suffix- Returns:
- the composed URL
-
getSubmodelRepository
protected org.eclipse.digitaltwin.basyx.submodelrepository.client.ConnectedSubmodelRepository getSubmodelRepository()Description copied from class:AbstractAasRestInvocablesCreatorReturns the submodel repository to delegate calls to.- Specified by:
getSubmodelRepositoryin classAbstractAasRestInvocablesCreator- Returns:
- the submodel repository
-
getSubmodelRepositoryUrl
Description copied from class:AbstractAasRestInvocablesCreatorReturns the submodel repository to delegate calls to.- Specified by:
getSubmodelRepositoryUrlin classAbstractAasRestInvocablesCreator- Returns:
- the submodel repository url
-