Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright (c) 2011 CEA 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:
   *   CEA - initial API and implementation
  *
  */
 package org.eclipse.uml2.uml.profile.l2.internal.impl;
 
 
 import java.util.Map;
 
 
 
 
 
 
 
An implementation of the model object 'Implement'.

The following features are implemented:

  • Base Component

Generated:
 
 public class ImplementImpl
 		extends EObjectImpl
 		implements Implement {

The cached value of the 'Base Component' reference.

See also:
getBase_Component()
Generated:
Ordered:
 
 	protected Component base_Component;

Generated:
 
 	protected ImplementImpl() {
 		super();
 	}

Generated:
 
 	protected EClass eStaticClass() {
 	}

Generated:
 
 		if ( != null && .eIsProxy()) {
 			InternalEObject oldBase_Component = (InternalEObject;
 			 = (ComponenteResolveProxy(oldBase_Component);
 			if ( != oldBase_Component) {
 						.oldBase_Component,
 			}
 		}
 		return ;
 	}

Generated:
	}

Generated:
	public void setBase_Component(Component newBase_Component) {
		Component oldBase_Component = ;
		 = newBase_Component;
	}

Generated:
	public boolean validateImplementsSpecification(DiagnosticChain diagnostics,
			Map<ObjectObjectcontext) {
		return ImplementOperations.validateImplementsSpecification(this,
			diagnosticscontext);
	}

Generated:
	public Object eGet(int featureIDboolean resolveboolean coreType) {
		switch (featureID) {
				if (resolve)
		}
		return super.eGet(featureIDresolvecoreType);
	}

Generated:
	public void eSet(int featureIDObject newValue) {
		switch (featureID) {
				return;
		}
		super.eSet(featureIDnewValue);
	}

Generated:
	public void eUnset(int featureID) {
		switch (featureID) {
				return;
		}
		super.eUnset(featureID);
	}

Generated:
	public boolean eIsSet(int featureID) {
		switch (featureID) {
				return  != null;
		}
		return super.eIsSet(featureID);
	}

Generated:
	@SuppressWarnings("unchecked")
	public Object eInvoke(int operationIDEList<?> arguments)
		switch (operationID) {
					(DiagnosticChainarguments.get(0),
					(Map<ObjectObject>) arguments.get(1));
		}
		return super.eInvoke(operationIDarguments);
	}
//ImplementImpl
New to GrepCode? Check out our FAQ X