1 /* 2 Wotonomy: OpenStep design patterns for pure Java applications. 3 Copyright (C) 2001 Michael Powers 4 5 This library is free software; you can redistribute it and/or 6 modify it under the terms of the GNU Lesser General Public 7 License as published by the Free Software Foundation; either 8 version 2.1 of the License, or (at your option) any later version. 9 10 This library is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 Lesser General Public License for more details. 14 15 You should have received a copy of the GNU Lesser General Public 16 License along with this library; if not, see http://www.gnu.org 17 */ 18 package net.wotonomy.access; 19 20 import net.wotonomy.control.EOEditingContext; 21 import net.wotonomy.control.EOKeyGlobalID; 22 23 /*** 24 * A fault handler for single objects. Usually the destinations of a 25 * to-one relationship. 26 * 27 * @author ezamudio@nasoft.com 28 * @author $Author: cgruber $ 29 * @version $Revision: 894 $ 30 */public class EOAccessFaultHandler extends EOAccessGenericFaultHandler { 31 32 protected EOKeyGlobalID _gid; 33 34 public EOAccessFaultHandler(EOKeyGlobalID gid, EODatabaseContext dbc, EOEditingContext ec) { 35 super(); 36 _gid = gid; 37 setContext(dbc, ec); 38 } 39 40 /* (non-Javadoc) 41 * @see net.wotonomy.control.EOFaultHandler#completeInitializationOfObject(java.lang.Object) 42 */ 43 public void completeInitializationOfObject(Object obj) { 44 // TODO Auto-generated method stub 45 46 } 47 48 public EOKeyGlobalID globalID() { 49 return _gid; 50 } 51 52 } 53 /* 54 * $Log$ 55 * Revision 1.2 2006/02/16 16:47:14 cgruber 56 * Move some classes in to "internal" packages and re-work imports, etc. 57 * 58 * Also use UnsupportedOperationExceptions where appropriate, instead of WotonomyExceptions. 59 * 60 * Revision 1.1 2006/02/16 13:19:57 cgruber 61 * Check in all sources in eclipse-friendly maven-enabled packages. 62 * 63 * Revision 1.1 2003/08/19 19:53:20 chochos 64 * EOAccess fault handlers (still incomplete) 65 * 66 */