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