1 /*******************************************************************************
2 * Copyright (c) 2013 University of Stuttgart.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * and the Apache License 2.0 which both accompany this distribution,
6 * and are available at http://www.eclipse.org/legal/epl-v10.html
7 * and http://www.apache.org/licenses/LICENSE-2.0
10 * Oliver Kopp - initial API and implementation
11 *******************************************************************************/
12 package org.eclipse.winery.common.ids.definitions;
14 import javax.xml.namespace.QName;
16 import org.eclipse.winery.common.ids.Namespace;
17 import org.eclipse.winery.common.ids.XMLId;
18 import org.eclipse.winery.common.ids.elements.TOSCAElementId;
21 * ArtifactTemplates, PolicyTemplates, and ServiceTemplates are
22 * <em>directly nested</em> in a Definitions element. RelationshipTemplates and
23 * NodeTemplates are not. When approaching an EntityTemplateId, it is a thing
24 * directly nested in a Definitions element.
26 * The others have {@link TOSCAElementId} as parent
28 public abstract class EntityTemplateId extends TOSCAComponentId {
30 public EntityTemplateId(Namespace namespace, XMLId xmlId) {
31 super(namespace, xmlId);
34 public EntityTemplateId(String ns, String id, boolean URLencoded) {
35 super(ns, id, URLencoded);
38 public EntityTemplateId(QName qname) {