Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /java /eclipse-basyx_basyx-java-server-sdk /basyx.submodelservice /basyx.submodelservice-feature-operation-dispatching /test /sources /HelloOperation.java
| import org.eclipse.digitaltwin.aas4j.v3.model.DataTypeDefXsd; | |
| import org.eclipse.digitaltwin.aas4j.v3.model.OperationVariable; | |
| import org.eclipse.digitaltwin.aas4j.v3.model.Property; | |
| import org.eclipse.digitaltwin.aas4j.v3.model.impl.DefaultOperationVariable; | |
| import org.eclipse.digitaltwin.aas4j.v3.model.impl.DefaultProperty; | |
| public class HelloOperation { | |
| public OperationVariable[] invoke(OperationVariable[] in) { | |
| String value = new HelloWorld().sayHello(); | |
| Property prop = new DefaultProperty.Builder().value(value).valueType(DataTypeDefXsd.STRING).build(); | |
| return new OperationVariable[] {new DefaultOperationVariable.Builder().value(prop).build()}; | |
| } | |
| } | |
Xet Storage Details
- Size:
- 673 Bytes
- Xet hash:
- 6ef9ba2b616c64bf1b2f02080a8e2a70daf130940a9f0f8594f50776c5579695
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.