All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jnario.impl.SpecificationImpl Maven / Gradle / Ivy

The newest version!
/**
 * 
 * 
 *
 * $Id$
 */
package org.jnario.impl;

import org.eclipse.emf.common.util.ECollections;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.xtend.core.xtend.impl.XtendClassImplCustom;
import org.jnario.Executable;
import org.jnario.JnarioPackage;
import org.jnario.Specification;

/**
 * 
 * An implementation of the model object 'Specification'.
 * 
 * 

*

* * @generated NOT */ public class SpecificationImpl extends XtendClassImplCustom implements Specification { private EList children; /** * * * @generated */ protected SpecificationImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return JnarioPackage.Literals.SPECIFICATION; } public boolean isPending(){ for (Executable child : getChildren()) { if(child.isPending()){ return true; } } return false; } public EList getChildren(){ if(children == null){ children = calculateChildren(); } return children; } protected EList calculateChildren() { return ECollections.emptyEList(); } } //SpecificationImpl




© 2015 - 2025 Weber Informatics LLC | Privacy Policy