Search in sources :

Example 1 with XTRelationshipTemplate

use of org.eclipse.winery.model.tosca.xml.XTRelationshipTemplate in project winery by eclipse.

the class Visitor method visit.

public void visit(XTTopologyTemplate topologyTemplate) {
    Objects.requireNonNull(topologyTemplate);
    visit((XTExtensibleElements) topologyTemplate);
    for (XTNodeTemplate nodeTemplate : topologyTemplate.getNodeTemplates()) {
        nodeTemplate.accept(this);
    }
    for (XTRelationshipTemplate relationshipTemplate : topologyTemplate.getRelationshipTemplates()) {
        relationshipTemplate.accept(this);
    }
// metamodel does not offer more children
}
Also used : XTNodeTemplate(org.eclipse.winery.model.tosca.xml.XTNodeTemplate) XTRelationshipTemplate(org.eclipse.winery.model.tosca.xml.XTRelationshipTemplate)

Aggregations

XTNodeTemplate (org.eclipse.winery.model.tosca.xml.XTNodeTemplate)1 XTRelationshipTemplate (org.eclipse.winery.model.tosca.xml.XTRelationshipTemplate)1