This is an automated email from the ASF dual-hosted git repository.
cdutz 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 5f477eb - Added the interface for an EnumField ...
5f477eb is described below
commit 5f477eb4abca03ee217878f4c18addd3348dc973
Author: Christofer Dutz <[email protected]>
AuthorDate: Wed Sep 25 13:46:12 2019 +0200
- Added the interface for an EnumField ...
---
.../codegenerator/types/fields/EnumField.java | 28 ++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git
a/code-generation/types-base/src/main/java/org/apache/plc4x/plugins/codegenerator/types/fields/EnumField.java
b/code-generation/types-base/src/main/java/org/apache/plc4x/plugins/codegenerator/types/fields/EnumField.java
new file mode 100644
index 0000000..699a3a3
--- /dev/null
+++
b/code-generation/types-base/src/main/java/org/apache/plc4x/plugins/codegenerator/types/fields/EnumField.java
@@ -0,0 +1,28 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+package org.apache.plc4x.plugins.codegenerator.types.fields;
+
+public interface EnumField extends PropertyField {
+
+ default String getTypeName() {
+ return "enum";
+ }
+
+}