public DocumentReferenceServiceParameterComponent copy(DocumentReference e) {
   DocumentReferenceServiceParameterComponent dst =
       e.new DocumentReferenceServiceParameterComponent();
   dst.name = name == null ? null : name.copy();
   dst.value = value == null ? null : value.copy();
   return dst;
 }
 public DocumentReferenceServiceComponent copy(DocumentReference e) {
   DocumentReferenceServiceComponent dst = e.new DocumentReferenceServiceComponent();
   dst.type = type == null ? null : type.copy();
   dst.address = address == null ? null : address.copy();
   dst.parameter = new ArrayList<DocumentReferenceServiceParameterComponent>();
   for (DocumentReferenceServiceParameterComponent i : parameter) dst.parameter.add(i.copy(e));
   return dst;
 }