public void objectRestore(Object obj) {
		if(!obj.getClass().getSimpleName().equals(this.classObj))
			throw new RuntimeException("Can't restore an object from a different class.");
		System.out.println("DEBUG: Restore object " + obj.getClass().getSimpleName());
		for(Field fld : this.storeObj.getClass().getFields()) {
			System.out.println(fld.getName());
			try {
				System.out.println("savenum="+getInstanceValue(this.storeObj, fld.getName()));
			} catch (SecurityException | NoSuchFieldException
					| ClassNotFoundException | IllegalArgumentException
					| IllegalAccessException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}

		}		
	}