Remove binding spec2
[mdsal.git] / binding2 / mdsal-binding2-java-api-generator / src / main / twirl / org / opendaylight / mdsal / binding / javav2 / java / api / generator / classTemplateUnionConstr.scala.txt
diff --git a/binding2/mdsal-binding2-java-api-generator/src/main/twirl/org/opendaylight/mdsal/binding/javav2/java/api/generator/classTemplateUnionConstr.scala.txt b/binding2/mdsal-binding2-java-api-generator/src/main/twirl/org/opendaylight/mdsal/binding/javav2/java/api/generator/classTemplateUnionConstr.scala.txt
deleted file mode 100644 (file)
index 833d0cf..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-@*
- * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *@
-
-@import org.opendaylight.mdsal.binding.javav2.java.api.generator.util.TextTemplateUtil.asArguments
-@import org.opendaylight.mdsal.binding.javav2.java.api.generator.util.TextTemplateUtil.fieldName
-@import org.opendaylight.mdsal.binding.javav2.model.api.GeneratedProperty
-@import org.opendaylight.mdsal.binding.javav2.model.api.GeneratedType
-
-@(genType: GeneratedType, parentProperties: List[GeneratedProperty], allProperty: GeneratedProperty, other: List[GeneratedProperty],
-importedName: String, genRestrictions: String)
-public @{genType.getName}(@{importedName} @{allProperty.getName}) {
-    @if(!parentProperties.isEmpty) {
-        super(@{asArguments(parentProperties)});
-    }
-
-    @{genRestrictions}
-
-    this.@{fieldName(allProperty)} = @{allProperty.getName};
-    @for(item <- other) {
-        this.@{fieldName(item)} = null;
-    }
-}
\ No newline at end of file