1. Jens Reimann
  2. org.openscada.docdocdoc

Commits

Jens Reimann  committed 58e7b33

clear warning

  • Participants
  • Parent commits 4cb9ee2
  • Branches master

Comments (0)

Files changed (1)

File org.openscada.doc.content.model/src/org/openscada/doc/content/impl/ImageImpl.java

View file
  * <p>
  * The following features are implemented:
  * <ul>
- *   <li>{@link org.openscada.doc.content.impl.ImageImpl#getSource <em>Source</em>}</li>
- *   <li>{@link org.openscada.doc.content.impl.ImageImpl#getData <em>Data</em>}</li>
+ * <li>{@link org.openscada.doc.content.impl.ImageImpl#getSource <em>Source
+ * </em>}</li>
+ * <li>{@link org.openscada.doc.content.impl.ImageImpl#getData <em>Data</em>}</li>
  * </ul>
  * </p>
- *
+ * 
  * @generated
  */
 public class ImageImpl extends EObjectImpl implements Image
 {
     /**
-     * The default value of the '{@link #getSource() <em>Source</em>}' attribute.
+     * The default value of the '{@link #getSource() <em>Source</em>}'
+     * attribute.
      * <!-- begin-user-doc -->
      * <!-- end-user-doc -->
+     * 
      * @see #getSource()
      * @generated
      * @ordered
      * The cached value of the '{@link #getSource() <em>Source</em>}' attribute.
      * <!-- begin-user-doc -->
      * <!-- end-user-doc -->
+     * 
      * @see #getSource()
      * @generated
      * @ordered
      * The default value of the '{@link #getData() <em>Data</em>}' attribute.
      * <!-- begin-user-doc -->
      * <!-- end-user-doc -->
+     * 
      * @see #getData()
      * @generated
      * @ordered
      * The cached value of the '{@link #getData() <em>Data</em>}' attribute.
      * <!-- begin-user-doc -->
      * <!-- end-user-doc -->
+     * 
      * @see #getData()
      * @generated
      * @ordered
     /**
      * <!-- begin-user-doc -->
      * <!-- end-user-doc -->
+     * 
      * @generated
      */
     protected ImageImpl ()
     {
-        super();
+        super ();
     }
 
     /**
      * <!-- begin-user-doc -->
      * <!-- end-user-doc -->
+     * 
      * @generated
      */
     @Override
     /**
      * <!-- begin-user-doc -->
      * <!-- end-user-doc -->
+     * 
      * @generated
      */
     @Override
     public String getSource ()
     {
-        return source;
+        return this.source;
     }
 
     /**
      * <!-- begin-user-doc -->
      * <!-- end-user-doc -->
+     * 
      * @generated
      */
     @Override
-    public void setSource ( String newSource )
+    public void setSource ( final String newSource )
     {
-        String oldSource = source;
-        source = newSource;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, ContentPackage.IMAGE__SOURCE, oldSource, source));
+        final String oldSource = this.source;
+        this.source = newSource;
+        if ( eNotificationRequired () )
+        {
+            eNotify ( new ENotificationImpl ( this, Notification.SET, ContentPackage.IMAGE__SOURCE, oldSource, this.source ) );
+        }
     }
 
     /**
      * <!-- begin-user-doc -->
      * <!-- end-user-doc -->
+     * 
      * @generated
      */
     @Override
     public byte[] getData ()
     {
-        return data;
+        return this.data;
     }
 
     /**
      * <!-- begin-user-doc -->
      * <!-- end-user-doc -->
+     * 
      * @generated
      */
     @Override
-    public void setData ( byte[] newData )
+    public void setData ( final byte[] newData )
     {
-        byte[] oldData = data;
-        data = newData;
-        if (eNotificationRequired())
-            eNotify(new ENotificationImpl(this, Notification.SET, ContentPackage.IMAGE__DATA, oldData, data));
+        final byte[] oldData = this.data;
+        this.data = newData;
+        if ( eNotificationRequired () )
+        {
+            eNotify ( new ENotificationImpl ( this, Notification.SET, ContentPackage.IMAGE__DATA, oldData, this.data ) );
+        }
     }
 
     /**
      * <!-- begin-user-doc -->
      * <!-- end-user-doc -->
+     * 
      * @generated
      */
     @Override
-    public Object eGet ( int featureID, boolean resolve, boolean coreType )
+    public Object eGet ( final int featureID, final boolean resolve, final boolean coreType )
     {
-        switch (featureID)
+        switch ( featureID )
         {
             case ContentPackage.IMAGE__SOURCE:
-                return getSource();
+                return getSource ();
             case ContentPackage.IMAGE__DATA:
-                return getData();
+                return getData ();
         }
-        return super.eGet(featureID, resolve, coreType);
+        return super.eGet ( featureID, resolve, coreType );
     }
 
     /**
      * <!-- begin-user-doc -->
      * <!-- end-user-doc -->
+     * 
      * @generated
      */
-    @SuppressWarnings ( "unchecked" )
     @Override
-    public void eSet ( int featureID, Object newValue )
+    public void eSet ( final int featureID, final Object newValue )
     {
-        switch (featureID)
+        switch ( featureID )
         {
             case ContentPackage.IMAGE__SOURCE:
-                setSource((String)newValue);
+                setSource ( (String)newValue );
                 return;
             case ContentPackage.IMAGE__DATA:
-                setData((byte[])newValue);
+                setData ( (byte[])newValue );
                 return;
         }
-        super.eSet(featureID, newValue);
+        super.eSet ( featureID, newValue );
     }
 
     /**
      * <!-- begin-user-doc -->
      * <!-- end-user-doc -->
+     * 
      * @generated
      */
     @Override
-    public void eUnset ( int featureID )
+    public void eUnset ( final int featureID )
     {
-        switch (featureID)
+        switch ( featureID )
         {
             case ContentPackage.IMAGE__SOURCE:
-                setSource(SOURCE_EDEFAULT);
+                setSource ( SOURCE_EDEFAULT );
                 return;
             case ContentPackage.IMAGE__DATA:
-                setData(DATA_EDEFAULT);
+                setData ( DATA_EDEFAULT );
                 return;
         }
-        super.eUnset(featureID);
+        super.eUnset ( featureID );
     }
 
     /**
      * <!-- begin-user-doc -->
      * <!-- end-user-doc -->
+     * 
      * @generated
      */
     @Override
-    public boolean eIsSet ( int featureID )
+    public boolean eIsSet ( final int featureID )
     {
-        switch (featureID)
+        switch ( featureID )
         {
             case ContentPackage.IMAGE__SOURCE:
-                return SOURCE_EDEFAULT == null ? source != null : !SOURCE_EDEFAULT.equals(source);
+                return SOURCE_EDEFAULT == null ? this.source != null : !SOURCE_EDEFAULT.equals ( this.source );
             case ContentPackage.IMAGE__DATA:
-                return DATA_EDEFAULT == null ? data != null : !DATA_EDEFAULT.equals(data);
+                return DATA_EDEFAULT == null ? this.data != null : !DATA_EDEFAULT.equals ( this.data );
         }
-        return super.eIsSet(featureID);
+        return super.eIsSet ( featureID );
     }
 
     /**
      * <!-- begin-user-doc -->
      * <!-- end-user-doc -->
+     * 
      * @generated
      */
     @Override
     public String toString ()
     {
-        if (eIsProxy()) return super.toString();
-
-        StringBuffer result = new StringBuffer(super.toString());
-        result.append(" (source: ");
-        result.append(source);
-        result.append(", data: ");
-        result.append(data);
-        result.append(')');
-        return result.toString();
+        if ( eIsProxy () )
+        {
+            return super.toString ();
+        }
+
+        final StringBuffer result = new StringBuffer ( super.toString () );
+        result.append ( " (source: " );
+        result.append ( this.source );
+        result.append ( ", data: " );
+        result.append ( this.data );
+        result.append ( ')' );
+        return result.toString ();
     }
 
 } //ImageImpl