IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.notation
Interface Image

All Superinterfaces:
EObject, Notifier

public interface Image
extends EObject

A representation of the model object 'Image'.

An image is representing a serialization of an image file

The following features are supported:

See Also:
NotationPackage.getImage()

Method Summary
 byte[] getData()
          Returns the value of the 'Data' attribute
 void setData(byte[] value)
          Sets the value of the 'Data' attribute
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getData

public byte[] getData()
Returns the value of the 'Data' attribute.

The data is a blop representing the image data. The returned byte[] is not expected to be changed. If a change is requried, it has to be through the setData() API

Returns:
the value of the 'Data' attribute.
See Also:
setData(byte[]), NotationPackage.getImage_Data()

setData

public void setData(byte[] value)
Sets the value of the 'Data' attribute.

The data is a blop representing the image data.

Parameters:
value - the new value of the 'Data' attribute.
See Also:
getData()

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.