gt: 		if (eIsProxy()) return super.toString();
context: /**
   */
  package de.dfki.iui.basys.model.base.impl;
  
  import de.dfki.iui.basys.model.base.BasePackage;
  import de.dfki.iui.basys.model.base.Metadata;
  
  import de.dfki.iui.basys.model.util.BasysEObjectImpl;
  import java.util.Date;
  
  import org.eclipse.emf.common.notify.Notification;
  
  import org.eclipse.emf.ecore.EClass;
  
  import org.eclipse.emf.ecore.impl.ENotificationImpl;
  
  /**
   * <!-- begin-user-doc -->
   * An implementation of the model object '<em><b>Metadata</b></em>'.
   * <!-- end-user-doc -->
   * <p>
   * The following features are implemented:
   * </p>
   * <ul>
   *   <li>{@link de.dfki.iui.basys.model.base.impl.MetadataImpl#getCreator <em>Creator</em>}</li>
   *   <li>{@link de.dfki.iui.basys.model.base.impl.MetadataImpl#getCreationDate <em>Creation Date</em>}</li>
   *   <li>{@link de.dfki.iui.basys.model.base.impl.MetadataImpl#getExpiryDate <em>Expiry Date</em>}</li>
   * </ul>
   *
   * @generated
   */
  public class MetadataImpl extends BasysEObjectImpl implements Metadata {
  	/**
  	 * The default value of the '{@link #getCreator() <em>Creator</em>}' attribute.
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @see #getCreator()
  	 * @generated
  	 * @ordered
  	 */
  	protected static final String CREATOR_EDEFAULT = null;
  
  	/**
  	 * The cached value of the '{@link #getCreator() <em>Creator</em>}' attribute.
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @see #getCreator()
  	 * @generated
  	 * @ordered
  	 */
  	protected String creator = CREATOR_EDEFAULT;
  
  	/**
  	 * The default value of the '{@link #getCreationDate() <em>Creation Date</em>}' attribute.
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @see #getCreationDate()
  	 * @generated
  	 * @ordered
  	 */
  	protected static final Date CREATION_DATE_EDEFAULT = null;
  
  	/**
  	 * The cached value of the '{@link #getCreationDate() <em>Creation Date</em>}' attribute.
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @see #getCreationDate()
  	 * @generated
  	 * @ordered
  	 */
  	protected Date creationDate = CREATION_DATE_EDEFAULT;
  
  	/**
  	 * The default value of the '{@link #getExpiryDate() <em>Expiry Date</em>}' attribute.
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @see #getExpiryDate()
  	 * @generated
  	 * @ordered
  	 */
  	protected static final Date EXPIRY_DATE_EDEFAULT = null;
  
  	/**
  	 * The cached value of the '{@link #getExpiryDate() <em>Expiry Date</em>}' attribute.
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @see #getExpiryDate()
  	 * @generated
  	 * @ordered
  	 */
  	protected Date expiryDate = EXPIRY_DATE_EDEFAULT;
  
  	/**
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	protected MetadataImpl() {
  		super();
  	}
  
  	/**
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	@Override
  	protected EClass eStaticClass() {
  		return BasePackage.Literals.METADATA;
  	}
  
  	/**
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	public String getCreator() {
  		return creator;
  	}
  
  	/**
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	public void setCreator(String newCreator) {
  		String oldCreator = creator;
  		creator = newCreator;
  		if (eNotificationRequired())
  			eNotify(new ENotificationImpl(this, Notification.SET, BasePackage.METADATA__CREATOR, oldCreator, creator));
  	}
  
  	/**
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	public Date getCreationDate() {
  		return creationDate;
  	}
  
  	/**
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	public void setCreationDate(Date newCreationDate) {
  		Date oldCreationDate = creationDate;
  		creationDate = newCreationDate;
  		if (eNotificationRequired())
  			eNotify(new ENotificationImpl(this, Notification.SET, BasePackage.METADATA__CREATION_DATE, oldCreationDate, creationDate));
  	}
  
  	/**
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	public Date getExpiryDate() {
  		return expiryDate;
  	}
  
  	/**
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	public void setExpiryDate(Date newExpiryDate) {
  		Date oldExpiryDate = expiryDate;
  		expiryDate = newExpiryDate;
  		if (eNotificationRequired())
  			eNotify(new ENotificationImpl(this, Notification.SET, BasePackage.METADATA__EXPIRY_DATE, oldExpiryDate, expiryDate));
  	}
  
  	/**
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	@Override
  	public Object eGet(int featureID, boolean resolve, boolean coreType) {
  		switch (featureID) {
  			case BasePackage.METADATA__CREATOR:
  				return getCreator();
  			case BasePackage.METADATA__CREATION_DATE:
  				return getCreationDate();
  			case BasePackage.METADATA__EXPIRY_DATE:
  				return getExpiryDate();
  		}
  		return super.eGet(featureID, resolve, coreType);
  	}
  
  	/**
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	@Override
  	public void eSet(int featureID, Object newValue) {
  		switch (featureID) {
  			case BasePackage.METADATA__CREATOR:
  				setCreator((String)newValue);
  				return;
  			case BasePackage.METADATA__CREATION_DATE:
  				setCreationDate((Date)newValue);
  				return;
  			case BasePackage.METADATA__EXPIRY_DATE:
  				setExpiryDate((Date)newValue);
  				return;
  		}
  		super.eSet(featureID, newValue);
  	}
  
  	/**
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	@Override
  	public void eUnset(int featureID) {
  		switch (featureID) {
  			case BasePackage.METADATA__CREATOR:
  				setCreator(CREATOR_EDEFAULT);
  				return;
  			case BasePackage.METADATA__CREATION_DATE:
  				setCreationDate(CREATION_DATE_EDEFAULT);
  				return;
  			case BasePackage.METADATA__EXPIRY_DATE:
  				setExpiryDate(EXPIRY_DATE_EDEFAULT);
  				return;
  		}
  		super.eUnset(featureID);
  	}
  
  	/**
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	@Override
  	public boolean eIsSet(int featureID) {
  		switch (featureID) {
  			case BasePackage.METADATA__CREATOR:
  				return CREATOR_EDEFAULT == null ? creator != null : !CREATOR_EDEFAULT.equals(creator);
  			case BasePackage.METADATA__CREATION_DATE:
  				return CREATION_DATE_EDEFAULT == null ? creationDate != null : !CREATION_DATE_EDEFAULT.equals(creationDate);
  			case BasePackage.METADATA__EXPIRY_DATE:
  				return EXPIRY_DATE_EDEFAULT == null ? expiryDate != null : !EXPIRY_DATE_EDEFAULT.equals(expiryDate);
  		}
  		return super.eIsSet(featureID);
  	}
  
  	/**
  	 * <!-- begin-user-doc -->
  	 * <!-- end-user-doc -->
  	 * @generated
  	 */
  	@Override
  	public String toString() {
  