1 package com.aurea.maven.plugins.sonic.sdo; 2 3 import java.io.File; 4 import java.io.InputStream; 5 6 import commonj.sdo.DataObject; 7 8 public interface IDataObjectInstance { 9 10 11 /** 12 * @param _is is 13 * @throws Exception if something goes wrong 14 */ 15 void load(InputStream _is) throws Exception; 16 17 /** 18 * @param _dest dest 19 * @throws Exception if something goes wrong 20 */ 21 void save(File _dest) throws Exception; 22 23 /** 24 * @return DataObject 25 */ 26 DataObject getDataObject(); 27 }