package com.db4o.samples;

import com.db4o.lib.*;
import java.io.File;

public class AllSamples
{
	public static void main(String[] args)
	{
		// Samples should be executed in the provided numerical
		// to have the expected data in the database.
		S01_Set.main(null);
		S02_Set_Complex.main(null);
		S03_Get_All.main(null);
		S04_Get_By_Class.main(null);
		S05_Get_SubClasses.main(null);
		S06_Get_SuperClasses.main(null);
		S07_Query_By_Example.main(null);
		S08_Update.main(null);
		S09_Joining_Objects.main(null);
		S10_Equality.main(null);
		S11_Update_Per_Object.main(null);
		S12_Delete.main(null);
		S13_Is_This_It.main(null);
	}

	public static void inARow(){
		Logger.log("Please run all samples in the numbered order.");
		Logger.log("Later samples depend on objects stored in the earlier samples.");
	}
}
