示例#1
0
 public Order copy() {
   Order dst = new Order();
   dst.date = date == null ? null : date.copy();
   dst.subject = subject == null ? null : subject.copy();
   dst.source = source == null ? null : source.copy();
   dst.target = target == null ? null : target.copy();
   dst.reason = reason == null ? null : reason.copy();
   dst.authority = authority == null ? null : authority.copy();
   dst.when = when == null ? null : when.copy(dst);
   dst.detail = new ArrayList<ResourceReference>();
   for (ResourceReference i : detail) dst.detail.add(i.copy());
   return dst;
 }
示例#2
0
 public OrderWhenComponent copy(Order e) {
   OrderWhenComponent dst = e.new OrderWhenComponent();
   dst.code = code == null ? null : code.copy();
   dst.schedule = schedule == null ? null : schedule.copy();
   return dst;
 }