Interface AasContributor
- All Known Implementing Classes:
NetworkManagerAas,PlatformAas
public interface AasContributor
Service interface to contribute to an AAS. Platform components with individual AAS
shall implement this interface and contribute to the
AasPartRegistry.- Author:
- Holger Eichelberger, SSE
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe kind of AAS being built. -
Method Summary
Modifier and TypeMethodDescriptionde.iip_ecosphere.platform.support.aas.AascontributeTo(de.iip_ecosphere.platform.support.aas.Aas.AasBuilder aasBuilder, de.iip_ecosphere.platform.support.aas.InvocablesCreator iCreator) Contribute to the givenaasBuilder.voidcontributeTo(de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder sBuilder) Contributes the real implementation functions to thesBuilder.default booleanexists()Returns whether the contribution of this contributor already exists.default de.iip_ecosphere.platform.support.aas.AuthenticationDescriptorReturns the AAS authentication descriptor.getKind()Returns the kind of AAS being created.default de.iip_ecosphere.platform.support.aas.AuthenticationDescriptorReturns the submodel authentication descriptor.booleanisValid()Allow the AAS contributor to declare itself as invalid.
-
Method Details
-
contributeTo
de.iip_ecosphere.platform.support.aas.Aas contributeTo(de.iip_ecosphere.platform.support.aas.Aas.AasBuilder aasBuilder, de.iip_ecosphere.platform.support.aas.InvocablesCreator iCreator) Contribute to the givenaasBuilder.- Parameters:
aasBuilder- the AAS to contribute toiCreator- the invocables creator for binding (remote) property and operation implementations. Property and function names shall be qualified by the AAS short id.- Returns:
- the contributor may ignore
aasBuilderand create an own AAS and return that. If this contributor just contributes to theaasBuilderthe result shall be null
-
getAasAuthentication
default de.iip_ecosphere.platform.support.aas.AuthenticationDescriptor getAasAuthentication()Returns the AAS authentication descriptor. [shortcut]- Returns:
- the AAS authentication descriptor, may be null for none
- See Also:
-
getSubmodelAuthentication
default de.iip_ecosphere.platform.support.aas.AuthenticationDescriptor getSubmodelAuthentication()Returns the submodel authentication descriptor. [shortcut]- Returns:
- the submodel authentication descriptor, may be null for none
- See Also:
-
contributeTo
void contributeTo(de.iip_ecosphere.platform.support.aas.ProtocolServerBuilder sBuilder) Contributes the real implementation functions to thesBuilder. Names used for theiCreatorincontributeTo(AasBuilder, InvocablesCreator)must be the same as used here. Property and function names shall be qualified by the AAS short id.- Parameters:
sBuilder- the server builder
-
getKind
AasContributor.Kind getKind()Returns the kind of AAS being created. This is helpful for filtering.- Returns:
- the kind of AAS
-
isValid
boolean isValid()Allow the AAS contributor to declare itself as invalid.- Returns:
trueas prerequisite to executecontributeTo(ProtocolServerBuilder)andcontributeTo(AasBuilder, InvocablesCreator),falseelse
-
exists
default boolean exists()Returns whether the contribution of this contributor already exists. This would skip this contributor. In particular considered when automatically re-building AAS after server disconnect.- Returns:
truefor exists,falseelse
-