/*
Copyright (C) 2011 by Claas Wilke (claas.wilke@tu-dresden.de)
This file is part of Dresden OCL.
Dresden OCL is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your option)
any later version.
Dresden OCL is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
for more details.
You should have received a copy of the GNU Lesser General Public License along
with Dresden OCL. If not, see <http://www.gnu.org/licenses/>.
*/
package org.dresdenocl.metrics.metric.impl;
import org.dresdenocl.metrics.metric.Metric;
import org.dresdenocl.metrics.metric.MetricPackage;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.EObjectImpl;
/**
* <!-- begin-user-doc --> An implementation of the model object '
* <em><b>Metric</b></em>'. <!-- end-user-doc -->
* <p>
* </p>
*
* @generated
*/
public class MetricImpl extends EObjectImpl implements Metric {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected MetricImpl() {
super();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
protected EClass eStaticClass() {
return MetricPackage.Literals.METRIC;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated NOT
*/
public String getReport() {
StringBuffer resultBuffer = new StringBuffer();
resultBuffer.append("= Metric Report =\n");
return resultBuffer.toString();
}
} // MetricImpl