blob: ee9d2b16b8a50f31fbff5ee412f48b5a3274886b [file] [log] [blame]
/**
*/
package IoTML.Software.Artefact.impl;
import IoTML.Software.Artefact.ArtefactPackage;
import IoTML.Software.Artefact.Service;
import IoTML.Software.Artefact.util.ArtefactValidator;
import java.util.Map;
import org.eclipse.emf.common.util.BasicDiagnostic;
import org.eclipse.emf.common.util.Diagnostic;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.plugin.EcorePlugin;
import org.eclipse.emf.ecore.util.EObjectValidator;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Service</b></em>'.
* <!-- end-user-doc -->
*
* @generated
*/
public class ServiceImpl extends DigitalArtefactImpl implements Service {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected ServiceImpl() {
super();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected EClass eStaticClass() {
return ArtefactPackage.Literals.SERVICE;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public boolean Service_C1(DiagnosticChain diagnostics, Map context) {
// TODO: implement this method
// -> specify the condition that violates the invariant
// -> verify the details of the diagnostic, including severity and message
// Ensure that you remove @generated or mark it @generated NOT
if (false) {
if (diagnostics != null) {
diagnostics.add
(new BasicDiagnostic
(Diagnostic.ERROR,
ArtefactValidator.DIAGNOSTIC_SOURCE,
ArtefactValidator.SERVICE__SERVICE_C1,
EcorePlugin.INSTANCE.getString("_UI_GenericInvariant_diagnostic", new Object[] { "Service_C1", EObjectValidator.getObjectLabel(this, context) }),
new Object [] { this }));
}
return false;
}
return true;
}
} //ServiceImpl