01: /**
02: * <copyright>
03: * </copyright>
04: *
05: * $Id$
06: */package newprocess.impl;
07:
08: import newprocess.Element;
09: import newprocess.Loader;
10: import newprocess.NewprocessPackage;
11: import newprocess.validation.ElementValidator;
12: import newprocess.validation.ElementValidatorImpl;
13:
14: import org.eclipse.emf.ecore.EClass;
15:
16: /**
17: * <!-- begin-user-doc -->
18: * An implementation of the model object '<em><b>Loader</b></em>'.
19: * <!-- end-user-doc -->
20: * <p>
21: * </p>
22: *
23: * @generated NOT
24: * @author sh
25: */
26: public class LoaderImpl extends ElementImpl implements Loader,
27: ElementValidator {
28:
29: /**
30: * <!-- begin-user-doc -->
31: * <!-- end-user-doc -->
32: * @generated
33: */
34: protected LoaderImpl() {
35: super ();
36: }
37:
38: /**
39: * <!-- begin-user-doc -->
40: * <!-- end-user-doc -->
41: * @generated
42: */
43: @Override
44: protected EClass eStaticClass() {
45: return NewprocessPackage.Literals.LOADER;
46: }
47:
48: /**
49: * Validates the Implementation of the Loader
50: * @author sh
51: */
52: public boolean validateImplementation(Element value) {
53: return ElementValidatorImpl.INSTANCE
54: .validateImplementation(value);
55: }
56:
57: /**
58: * Validates the Name of the Loader
59: * @author sh
60: */
61: public boolean validateName(Element value) {
62: return ElementValidatorImpl.INSTANCE.validateName(value);
63: }
64: } //LoaderImpl
|