blob: db34969b6b156ff9907cfdcecaabd927d13bb0bb [file] [log] [blame]
/******************************************************************************
* Copyright (c) 2004, 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 Corporation - initial API and implementation
****************************************************************************/
package org.eclipse.gmf.runtime.notation;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Image</b></em>'.
* <p>
* An image is representing a serialization of an image file
* </p>
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.gmf.runtime.notation.Image#getData <em>Data</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.gmf.runtime.notation.NotationPackage#getImage()
* @model
* @generated
*/
/*
* @canBeSeenBy %partners
*/
public interface Image extends EObject {
/**
* Returns the value of the '<em><b>Data</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* The data is a blop representing the image data. The returned <code>byte[]</code> is not
* expected to be changed. If a change is requried, it has to be through the <code>setData()</code> API
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Data</em>' attribute.
* @see #setData(byte[])
* @see org.eclipse.gmf.runtime.notation.NotationPackage#getImage_Data()
* @model
* @generated
*/
byte[] getData();
/**
* Sets the value of the '{@link org.eclipse.gmf.runtime.notation.Image#getData <em>Data</em>}' attribute.
* <!-- begin-user-doc -->
* <p>
* The data is a blop representing the image data.
* </p>
* <!-- end-user-doc -->
* @param value the new value of the '<em>Data</em>' attribute.
* @see #getData()
* @generated
*/
void setData(byte[] value);
} // Image