Coverage Report - net.wotonomy.access.EOAccessArrayFaultHandler
 
Classes in this File Line Coverage Branch Coverage Complexity
EOAccessArrayFaultHandler
0% 
N/A 
1
 
 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 to-many relationships.
 25  
 * 
 26  
 * @author ezamudio@nasoft.com
 27  
 * @author $Author: cgruber $
 28  
 * @version $Revision: 894 $
 29  
 */public class EOAccessArrayFaultHandler extends EOAccessGenericFaultHandler {
 30  
 
 31  
         protected EOKeyGlobalID _sourceID;
 32  
         protected String _relation;
 33  
 
 34  
         public EOAccessArrayFaultHandler(EOKeyGlobalID sourceID, String relationName, EODatabaseContext dbc, EOEditingContext ec) {
 35  0
                 super();
 36  0
                 _sourceID = sourceID;
 37  0
                 _relation = relationName;
 38  0
                 setContext(dbc, ec);
 39  0
         }
 40  
 
 41  
         /* (non-Javadoc)
 42  
          * @see net.wotonomy.control.EOFaultHandler#completeInitializationOfObject(java.lang.Object)
 43  
          */
 44  
         public void completeInitializationOfObject(Object obj) {
 45  
                 // TODO Auto-generated method stub
 46  
 
 47  0
         }
 48  
 
 49  
         public String relationshipName() {
 50  0
                 return _relation;
 51  
         }
 52  
 
 53  
         public EOKeyGlobalID sourceGlobalID() {
 54  0
                 return _sourceID;
 55  
         }
 56  
 
 57  
 }
 58  
 /*
 59  
  * $Log$
 60  
  * Revision 1.2  2006/02/16 16:47:14  cgruber
 61  
  * Move some classes in to "internal" packages and re-work imports, etc.
 62  
  *
 63  
  * Also use UnsupportedOperationExceptions where appropriate, instead of WotonomyExceptions.
 64  
  *
 65  
  * Revision 1.1  2006/02/16 13:19:57  cgruber
 66  
  * Check in all sources in eclipse-friendly maven-enabled packages.
 67  
  *
 68  
  * Revision 1.1  2003/08/19 19:53:20  chochos
 69  
  * EOAccess fault handlers (still incomplete)
 70  
  *
 71  
  */