Clover coverage report - brownies library - 1.0-beta-1 Coverage timestamp: 月 8 16 2004 17:14:42 GMT+09:00 FRAMES NO FRAMES |
file stats: | LOC: | 91 |  | Methods: | 8
| NCLOC: | 33 |  | Classes: | 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
Source file | Conditionals | Statements | Methods | TOTAL
DatabinderWrapper.java | - | 0% | 0% | 0% |

1 |  |
     /*
2 |  |
      * Joey and its relative products are published under the terms
3 |  |
      * of the Apache Software License.
4 |  |
      */
5 |  |
     /*
6 |  |
      * Created on 2004/02/29
7 |  |
      */
8 |  |
     package org.asyrinx.brownie.hibernate.wrapper;
9 |  |
10 |  |
     import java.util.Collection;
11 |  |
12 |  |
     import javax.xml.transform.TransformerException;
13 |  |
14 |  |
     import net.sf.hibernate.Databinder;
15 |  |
     import net.sf.hibernate.HibernateException;
16 |  |
17 |  |
     import org.w3c.dom.Document;
18 |  |
19 |  |
     /**
20 |  |
      * @author akima
21 |  |
      */
22 |  |
     public class DatabinderWrapper implements Databinder {
23 |  |
24 |  |
         /**
25 |  |
          *
26 |  |
          */
27 | 0 |
         public DatabinderWrapper(Databinder wrapped) {
28 | 0 |
             super();
29 | 0 |
             this.wrapped = wrapped;
30 |  |
         }
31 |  |
32 |  |
         protected final Databinder wrapped;
33 |  |
34 |  |
         /**
35 |  |
          * @param object
36 |  |
          * @return
37 |  |
          */
38 | 0 |
         public Databinder bind(Object object) {
39 | 0 |
             return wrapped.bind(object);
40 |  |
         }
41 |  |
42 |  |
         /**
43 |  |
          * @param objects
44 |  |
          * @return
45 |  |
          */
46 | 0 |
         public Databinder bindAll(Collection objects) {
47 | 0 |
             return wrapped.bindAll(objects);
48 |  |
         }
49 |  |
50 |  |
         /**
51 |  |
          * @param initializeLazy
52 |  |
          */
53 | 0 |
         public void setInitializeLazy(boolean initializeLazy) {
54 | 0 |
             wrapped.setInitializeLazy(initializeLazy);
55 |  |
         }
56 |  |
57 |  |
         /**
58 |  |
          * @return @throws
59 |  |
          *         net.sf.hibernate.HibernateException
60 |  |
          * @throws javax.xml.transform.TransformerException
61 |  |
          */
62 | 0 |
         public Document toDOM() throws HibernateException, TransformerException {
63 | 0 |
             return wrapped.toDOM();
64 |  |
         }
65 |  |
66 |  |
         /**
67 |  |
          * @return @throws
68 |  |
          *         net.sf.hibernate.HibernateException
69 |  |
          */
70 | 0 |
         public Document toGenericDOM() throws HibernateException {
71 | 0 |
             return wrapped.toGenericDOM();
72 |  |
         }
73 |  |
74 |  |
         /**
75 |  |
          * @return @throws
76 |  |
          *         net.sf.hibernate.HibernateException
77 |  |
          */
78 | 0 |
         public String toGenericXML() throws HibernateException {
79 | 0 |
             return wrapped.toGenericXML();
80 |  |
         }
81 |  |
82 |  |
         /**
83 |  |
          * @return @throws
84 |  |
          *         net.sf.hibernate.HibernateException
85 |  |
          * @throws javax.xml.transform.TransformerException
86 |  |
          */
87 | 0 |
         public String toXML() throws HibernateException, TransformerException {
88 | 0 |
             return wrapped.toXML();
89 |  |
         }
90 |  |
91 |  |
     }