g-Eclipse
Release 1.0.0

eu.geclipse.core.model
Interface IStorableElement

All Superinterfaces:
IGridElement
All Known Subinterfaces:
IGridConnection, IGridSiteConfig, IVirtualOrganization
All Known Implementing Classes:
AbstractVirtualOrganization, BatchConnectionInfo, GenericVirtualOrganization, GenericVoProperties

public interface IStorableElement
extends IGridElement

A IStorableElement defines methods to save an element to an OutputStream and to load it from an InputStream. That makes that element persistent.


Method Summary
 void load()
          Load the properties of that element.
 void save()
          Write the properties of this element.
 
Methods inherited from interface eu.geclipse.core.model.IGridElement
dispose, getFileStore, getName, getParent, getPath, getProject, getResource, isHidden, isLocal, isVirtual
 

Method Detail

load

void load()
          throws ProblemException
Load the properties of that element. That may cause that some predefined properties may be overwritten with the loaded properties. The element itself has to know from where to load itself.

Throws:
ProblemException - If an error occurs while loading this element. This is mainly due to IOExceptions.

save

void save()
          throws ProblemException
Write the properties of this element. The element itself has to know where to save itself.

Throws:
ProblemException - If an error occurs while saving this element. This is mainly due to IOExceptions.

g-Eclipse
Release 1.0.0