blob: 4d11934d9a5e9761914a65718c24724518181969 [file] [log] [blame]
package org.eclipse.stem.core.predicate.impl;
/*******************************************************************************
* Copyright (c) 2008 IBM Corporation 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
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
import org.eclipse.emf.ecore.EClass;
import org.eclipse.stem.core.STEMURI;
import org.eclipse.stem.core.common.impl.IdentifiableImpl;
import org.eclipse.stem.core.model.Decorator;
import org.eclipse.stem.core.model.STEMTime;
import org.eclipse.stem.core.predicate.IdentifiablePredicate;
import org.eclipse.stem.core.predicate.PredicatePackage;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Identifiable Predicate</b></em>'.
* <!-- end-user-doc -->
* <p>
* </p>
*
* @generated
*/
public abstract class IdentifiablePredicateImpl extends IdentifiableImpl implements IdentifiablePredicate {
private static int predicateCounter = 0;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated NOT
*/
protected IdentifiablePredicateImpl() {
super();
setURI(STEMURI.createURI(URI_TYPE_PREDICATE_SEGMENT + "/"
+ Integer.toString(predicateCounter++)));
setTypeURI(STEMURI.PREDICATE_TYPE_URI);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return PredicatePackage.Literals.IDENTIFIABLE_PREDICATE;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated NOT
*/
abstract public boolean evaluate(STEMTime time, long timerPeriod, Decorator action);
} //IdentifiablePredicateImpl