public void copyValues(Element dst) {
   dst.id = id == null ? null : id.copy();
   if (extension != null) {
     dst.extension = new ArrayList<Extension>();
     for (Extension i : extension) dst.extension.add(i.copy());
   }
   ;
 }
Ejemplo n.º 2
0
 public Meta copy() {
   Meta dst = new Meta();
   copyValues(dst);
   dst.versionId = versionId == null ? null : versionId.copy();
   dst.lastUpdated = lastUpdated == null ? null : lastUpdated.copy();
   if (profile != null) {
     dst.profile = new ArrayList<UriType>();
     for (UriType i : profile) dst.profile.add(i.copy());
   }
   ;
   if (security != null) {
     dst.security = new ArrayList<Coding>();
     for (Coding i : security) dst.security.add(i.copy());
   }
   ;
   if (tag != null) {
     dst.tag = new ArrayList<Coding>();
     for (Coding i : tag) dst.tag.add(i.copy());
   }
   ;
   return dst;
 }