Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

StringOnlyCopy.java

Go to the documentation of this file.
00001 
00059 package com.arcle.rmt.j2se.bridge.copy.rqml;
00060 
00061 import com.arcle.rmt.rqml.*;
00062 import com.arcle.rmt.j2se.bridge.copy.ChildCopier;
00063 
00069 public class StringOnlyCopy extends RQMLSecondClassCopy {
00070     public StringOnlyCopy(ChildCopier cc) {
00071         super(cc);
00072     }
00073 
00074     public boolean copy(RQMLSecondClass source, RQMLSecondClass destination) {
00075         if (!(source instanceof StringOnly && destination instanceof StringOnly)) {
00076             return false;
00077         }
00078         boolean ok = super.copy(source, destination);
00079         StringOnly src = (StringOnly) source;
00080         StringOnly dst = (StringOnly) destination;
00081 
00082         dst.setString(src.getString());
00083 
00084         return ok;
00085     }
00086 
00087 }
00088 

Generated on Fri Jun 18 19:51:26 2004 for Arcle Rambutan by doxygen 1.3.5