Class SubmodelInfoCreator
java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx2.server.apps.security.TargetInfoHandler<org.eclipse.digitaltwin.basyx.submodelrepository.feature.authorization.SubmodelTargetInformation>
de.iip_ecosphere.platform.support.aas.basyx2.server.apps.security.SubmodelInfoCreator
class SubmodelInfoCreator
extends TargetInfoHandler<org.eclipse.digitaltwin.basyx.submodelrepository.feature.authorization.SubmodelTargetInformation>
A target information handler for submodel target information.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.digitaltwin.basyx.submodelrepository.feature.authorization.SubmodelTargetInformationcreate(de.iip_ecosphere.platform.support.aas.AuthenticationDescriptor.RbacRule rule) Creates an instance.org.eclipse.digitaltwin.basyx.submodelrepository.feature.authorization.SubmodelTargetInformationjoin(org.eclipse.digitaltwin.basyx.submodelrepository.feature.authorization.SubmodelTargetInformation t1, org.eclipse.digitaltwin.basyx.submodelrepository.feature.authorization.SubmodelTargetInformation t2) Joins two given target information instances.Methods inherited from class de.iip_ecosphere.platform.support.aas.basyx2.server.apps.security.TargetInfoHandler
getType, getTypeName, toPaths
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
SubmodelInfoCreator
private SubmodelInfoCreator()Creates an instance.
-
-
Method Details
-
create
public org.eclipse.digitaltwin.basyx.submodelrepository.feature.authorization.SubmodelTargetInformation create(de.iip_ecosphere.platform.support.aas.AuthenticationDescriptor.RbacRule rule) Description copied from class:TargetInfoHandlerCreates an instance.- Specified by:
createin classTargetInfoHandler<org.eclipse.digitaltwin.basyx.submodelrepository.feature.authorization.SubmodelTargetInformation>- Parameters:
rule- the rule to create the instance for- Returns:
- the instance
-
join
public org.eclipse.digitaltwin.basyx.submodelrepository.feature.authorization.SubmodelTargetInformation join(org.eclipse.digitaltwin.basyx.submodelrepository.feature.authorization.SubmodelTargetInformation t1, org.eclipse.digitaltwin.basyx.submodelrepository.feature.authorization.SubmodelTargetInformation t2) Description copied from class:TargetInfoHandlerJoins two given target information instances.- Specified by:
joinin classTargetInfoHandler<org.eclipse.digitaltwin.basyx.submodelrepository.feature.authorization.SubmodelTargetInformation>- Parameters:
t1- the first target information (to join into)t2- the second target information (to join)- Returns:
- the joined instance, may be
t1if modifiable
-