Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2005-2006 IBM Corporation 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: IBM - Initial API and implementation
 
 package org.eclipse.emf.examples.extlibrary.impl;
 
 
 import java.util.Date;
 
 
 
An implementation of the model object 'Item'.

The following features are implemented:

  • Publication Date

Generated:
 
 public abstract class ItemImpl extends EObjectImpl implements Item
 {
  
The default value of the 'Publication Date' attribute.

See also:
getPublicationDate()
Generated:
Ordered:
 
   protected static final Date PUBLICATION_DATE_EDEFAULT = null;

  
The cached value of the 'Publication Date' attribute.

See also:
getPublicationDate()
Generated:
Ordered:
 

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

  

Generated:
 
   @Override
   protected EClass eStaticClass()
   {
     return ..;
   }

  

Generated:
 
   public Date getPublicationDate()
   {
     return ;
   }

  

Generated:
 
   public void setPublicationDate(Date newPublicationDate)
   {
     Date oldPublicationDate = ;
     = newPublicationDate;
    if (eNotificationRequired())
  }

  

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

  

Generated:
  public void eSet(int featureIDObject newValue)
  {
    switch (featureID)
    {
        setPublicationDate((Date)newValue);
        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 super.eIsSet(featureID);
  }

  

Generated:
  public String toString()
  {
    if (eIsProxy()) return super.toString();
    StringBuffer result = new StringBuffer(super.toString());
    result.append(" (publicationDate: "); //$NON-NLS-1$
    result.append();
    result.append(')');
    return result.toString();
  }
//ItemImpl
New to GrepCode? Check out our FAQ X