01: package org.osbl.persistence; 02: 03: public abstract class SaveOrUpdateCommand<T> implements Command { 04: protected T object; 05: 06: public SaveOrUpdateCommand setObject(T object) { 07: this .object = object; 08: return this ; 09: } 10: 11: public abstract void execute(); 12: }