00001 00059 package com.arcle.rmt.j2se.bridge.copy.rqml; 00060 00061 import com.arcle.rmt.rqml.RQMLSecondClass; 00062 import com.arcle.rmt.j2se.bridge.copy.RQMLSecondClassCopier; 00063 import com.arcle.rmt.j2se.bridge.copy.ChildCopier; 00064 00070 public class RQMLSecondClassCopy implements RQMLSecondClassCopier { 00071 public RQMLSecondClassCopy(ChildCopier cc) { 00072 childCopier = cc; 00073 00074 } 00075 00076 public boolean copy(RQMLSecondClass source, RQMLSecondClass destination) { 00077 destination.setID(source.getID()); 00078 destination.setURI(source.getURI()); 00079 return true; 00080 } 00081 00082 protected boolean copyChild(Class childClass, 00083 RQMLSecondClass source, RQMLSecondClass destination) { 00084 return childCopier.copy(childClass, source, destination); 00085 } 00086 00087 00088 private ChildCopier childCopier; 00089 00090 } 00091