You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2022/03/09 14:04:42 UTC
[plc4x-build-tools] branch develop updated: feat(codegen): added a get getAllFields method
This is an automated email from the ASF dual-hosted git repository.
sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x-build-tools.git
The following commit(s) were added to refs/heads/develop by this push:
new 24f61be feat(codegen): added a get getAllFields method
24f61be is described below
commit 24f61be6fd9517ce5c739eb5720f720cad01c361
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Wed Mar 9 15:03:40 2022 +0100
feat(codegen): added a get getAllFields method
---
.../codegenerator/types/definitions/ComplexTypeDefinition.java | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/code-generation/types-base/src/main/java/org/apache/plc4x/plugins/codegenerator/types/definitions/ComplexTypeDefinition.java b/code-generation/types-base/src/main/java/org/apache/plc4x/plugins/codegenerator/types/definitions/ComplexTypeDefinition.java
index dcb7314..676528b 100644
--- a/code-generation/types-base/src/main/java/org/apache/plc4x/plugins/codegenerator/types/definitions/ComplexTypeDefinition.java
+++ b/code-generation/types-base/src/main/java/org/apache/plc4x/plugins/codegenerator/types/definitions/ComplexTypeDefinition.java
@@ -45,6 +45,13 @@ public interface ComplexTypeDefinition extends TypeDefinition {
/**
* In contrast to getFields, this also gets all property fields of any parent type.
*
+ * @return all fields
+ */
+ List<Field> getAllFields();
+
+ /**
+ * In contrast to getPropertyFieldsFields, this also gets all property fields of any parent type.
+ *
* @return all simple fields including any parents simple fields
*/
List<PropertyField> getAllPropertyFields();