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 'Instantiate'.

The following features are implemented:

  • Base Usage

Generated:
 
 public class InstantiateImpl
 		extends EObjectImpl
 		implements Instantiate {

The cached value of the 'Base Usage' reference.

See also:
getBase_Usage()
Generated:
Ordered:
 
 	protected Usage base_Usage;

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

Generated:
 
 	protected EClass eStaticClass() {
 	}

Generated:
 
 	public Usage getBase_Usage() {
 		if ( != null && .eIsProxy()) {
 			InternalEObject oldBase_Usage = (InternalEObject;
 			 = (UsageeResolveProxy(oldBase_Usage);
 			if ( != oldBase_Usage) {
 			}
 		}
 		return ;
 	}

Generated:
		return ;
	}

Generated:
	public void setBase_Usage(Usage newBase_Usage) {
		Usage oldBase_Usage = ;
		 = newBase_Usage;
	}

Generated:
			DiagnosticChain diagnosticsMap<ObjectObjectcontext) {
		return InstantiateOperations.validateClientAndSupplierAreClassifiers(
			thisdiagnosticscontext);
	}

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

Generated:
	public void eSet(int featureIDObject newValue) {
		switch (featureID) {
				setBase_Usage((UsagenewValue);
				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);
	}
//InstantiateImpl
New to GrepCode? Check out our FAQ X