You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2021/10/30 16:29:07 UTC
[plc4x-build-tools] branch feature/mspec-ng updated: - Continued
implementing the direct subtype-reference feature (Had to disable Opc-Ua
for now, as this needs an update that exceeds my brain-capacity ; -) )
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch feature/mspec-ng
in repository https://gitbox.apache.org/repos/asf/plc4x-build-tools.git
The following commit(s) were added to refs/heads/feature/mspec-ng by this push:
new 69ac124 - Continued implementing the direct subtype-reference feature (Had to disable Opc-Ua for now, as this needs an update that exceeds my brain-capacity ;-) )
69ac124 is described below
commit 69ac1240867f2d83deddb923b8ded6f55e78c4e3
Author: cdutz <ch...@c-ware.de>
AuthorDate: Sat Oct 30 18:28:59 2021 +0200
- Continued implementing the direct subtype-reference feature (Had to disable Opc-Ua for now, as this needs an update that exceeds my brain-capacity ;-) )
---
.../codegenerator/types/definitions/ComplexTypeDefinition.java | 1 +
.../plugins/codegenerator/types/definitions/TypeDefinition.java | 7 -------
2 files changed, 1 insertion(+), 7 deletions(-)
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 c711cbe..837c2eb 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
@@ -19,6 +19,7 @@
package org.apache.plc4x.plugins.codegenerator.types.definitions;
import org.apache.plc4x.plugins.codegenerator.types.fields.*;
+import org.apache.plc4x.plugins.codegenerator.types.references.TypeReference;
import java.util.Collection;
import java.util.Collections;
diff --git a/code-generation/types-base/src/main/java/org/apache/plc4x/plugins/codegenerator/types/definitions/TypeDefinition.java b/code-generation/types-base/src/main/java/org/apache/plc4x/plugins/codegenerator/types/definitions/TypeDefinition.java
index 3fa0011..db36647 100644
--- a/code-generation/types-base/src/main/java/org/apache/plc4x/plugins/codegenerator/types/definitions/TypeDefinition.java
+++ b/code-generation/types-base/src/main/java/org/apache/plc4x/plugins/codegenerator/types/definitions/TypeDefinition.java
@@ -48,13 +48,6 @@ public interface TypeDefinition extends TypeDefinitionConversions {
TypeDefinition getParentType();
/**
- * Get a TypeReference used for identifying the current type.
- * @return the type reference
- */
- TypeReference getTypeReference();
-
-
- /**
* @return true if {@code this} is a discriminated parent.
*/
default boolean isDiscriminatedParentTypeDefinition() {