public class SubmodelElementsCollectionClient extends SubmodelClient
SubmodelClient which obtains properties and operations defined in a submodel elements collection.| Modifier and Type | Field and Description |
|---|---|
private String |
collectionId |
| Constructor and Description |
|---|
SubmodelElementsCollectionClient(String submodel,
String collectionId)
Creates a client instance based on a deployed IIP-AAS from
AasPartRegistry based on a specified
submodel and a collection id. |
SubmodelElementsCollectionClient(de.iip_ecosphere.platform.support.aas.Submodel submodel,
String collectionId)
Creates a client instance based on the given
submodel. |
| Modifier and Type | Method and Description |
|---|---|
protected org.slf4j.Logger |
getLogger()
Returns the logger instance.
|
protected de.iip_ecosphere.platform.support.aas.Operation |
getOperation(String idShort)
Returns the operation for the given
idShort defined on SubmodelClient.submodel. |
protected de.iip_ecosphere.platform.support.aas.Property |
getProperty(String idShort)
Returns the property for the given
idShort defined on SubmodelClient.submodel. |
checkNotNull, checkString, getOperation, getProperty, getPropertyStringValue, getSubmodelprivate String collectionId
public SubmodelElementsCollectionClient(String submodel, String collectionId) throws IOException
AasPartRegistry based on a specified
submodel and a collection id.submodel - the submode to refer tocollectionId - the id used as key in submodel to denote the collection to operate onIOException - if retrieving the IIP-AAS or the respective submodel failspublic SubmodelElementsCollectionClient(de.iip_ecosphere.platform.support.aas.Submodel submodel,
String collectionId)
submodel. Operation and properties will be taken from the
submodel elements collection collectionId within submodel,submodel - the submodel to usecollectionId - the id used as key in submodel to denote the resource
to operate onprotected de.iip_ecosphere.platform.support.aas.Operation getOperation(String idShort) throws ExecutionException
SubmodelClientidShort defined on SubmodelClient.submodel.getOperation in class SubmodelClientidShort - the short idExecutionException - if the operation was not foundSubmodelClient.getOperation(Submodel, String)protected de.iip_ecosphere.platform.support.aas.Property getProperty(String idShort) throws ExecutionException
SubmodelClientidShort defined on SubmodelClient.submodel.getProperty in class SubmodelClientidShort - the short idExecutionException - if the property was not foundSubmodelClient.getProperty(Submodel, String)protected org.slf4j.Logger getLogger()
Copyright © 2021. All rights reserved.