Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fac2198
commit c9d66e4
Showing
4 changed files
with
706 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...stack/stack-core/src/main/java/org/eclipse/milo/opcua/stack/core/types/DynamicStruct.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* Copyright (c) 2022 the Eclipse Milo Authors | ||
* | ||
* This program and the accompanying materials are made | ||
* available under the terms of the Eclipse Public License 2.0 | ||
* which is available at https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
|
||
package org.eclipse.milo.opcua.stack.core.types; | ||
|
||
import java.util.LinkedHashMap; | ||
|
||
import org.eclipse.milo.opcua.stack.core.types.structured.Structure; | ||
|
||
public class DynamicStruct extends Structure { | ||
|
||
private final LinkedHashMap<String, Object> members; | ||
|
||
public DynamicStruct(LinkedHashMap<String, Object> members) { | ||
this.members = members; | ||
} | ||
|
||
public LinkedHashMap<String, Object> getMembers() { | ||
return members; | ||
} | ||
|
||
} |
Oops, something went wrong.