1 10 11 package org.enhydra.jawe.xml.elements; 12 13 import org.enhydra.jawe.xml.*; 14 import org.enhydra.jawe.xml.panels.*; 15 16 import java.util.*; 17 import org.w3c.dom.*; 18 19 24 public class TimeEstimation extends XMLComplexElement { 25 private WaitingTime refWaitingTime=new WaitingTime(); private WorkingTime refWorkingTime=new WorkingTime(); private Duration refDuration=new Duration(); 29 32 public TimeEstimation () { 33 super(); 34 35 fillStructure(); 36 } 37 38 42 protected void fillStructure () { 43 complexStructure.add(refWaitingTime); 44 complexStructure.add(refWorkingTime); 45 complexStructure.add(refDuration); 46 } 47 48 55 public Object clone () { 56 TimeEstimation t=(TimeEstimation)super.clone(); 57 58 t.refWaitingTime=(WaitingTime)this.refWaitingTime.clone(); 59 t.refWorkingTime=(WorkingTime)this.refWorkingTime.clone(); 60 t.refDuration=(Duration)this.refDuration.clone(); 61 62 t.fillStructure(); 63 64 return t; 65 } 66 67 } 68 | Popular Tags |