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;
 
 
 
 
 
An implementation of the model object 'Responsibility'.

The following features are implemented:

  • Base Usage

Generated:
 
 public class ResponsibilityImpl
 		extends EObjectImpl
 		implements Responsibility {

The cached value of the 'Base Usage' reference.

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

Generated:
 
 	protected ResponsibilityImpl() {
 		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:
 
 	public Usage basicGetBase_Usage() {
 		return ;
 	}

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

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);
	}
//ResponsibilityImpl
New to GrepCode? Check out our FAQ X