org.objectweb.dsrg.sofa.repository
Class RepositoryPersister

java.lang.Object
  extended by org.objectweb.dsrg.sofa.repository.RepositoryPersister

public class RepositoryPersister
extends java.lang.Object

This class is responsible for storing metadata into repository. Data are stored by CodeBundle and CodeBundle helper.


Constructor Summary
RepositoryPersister(org.eclipse.emf.ecore.resource.ResourceSet rs)
          This constructor should not be used by public.
 
Method Summary
 void save(VersionedEntity entity)
          Main method of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryPersister

public RepositoryPersister(org.eclipse.emf.ecore.resource.ResourceSet rs)
This constructor should not be used by public. It is used by RepositoryAgent.

Parameters:
rs - RepositoryAgent's ResourceSet
Method Detail

save

public void save(VersionedEntity entity)
          throws java.io.IOException
Main method of this class. Saves specified entity into repository. All unsaved content is saved too (recursively).

Parameters:
entity - VersionedEntity to be saved into Repository
Throws:
java.io.IOException