コード例 #1
0
ファイル: Extension.java プロジェクト: HHSIDEAlab/hapi-fhir
 public Extension copy() {
   Extension dst = new Extension();
   copyValues(dst);
   dst.url = url == null ? null : url.copy();
   dst.value = value == null ? null : value.copy();
   return dst;
 }
コード例 #2
0
ファイル: Quantity.java プロジェクト: aemay2/hapi-fhir
 public Quantity copy() {
   Quantity dst = new Quantity();
   copyValues(dst);
   dst.value = value == null ? null : value.copy();
   dst.comparator = comparator == null ? null : comparator.copy();
   dst.unit = unit == null ? null : unit.copy();
   dst.system = system == null ? null : system.copy();
   dst.code = code == null ? null : code.copy();
   return dst;
 }
コード例 #3
0
ファイル: Coding.java プロジェクト: hl7-fhir/fhir-svn
 public Coding copy() {
   Coding dst = new Coding();
   copyValues(dst);
   dst.system = system == null ? null : system.copy();
   dst.version = version == null ? null : version.copy();
   dst.code = code == null ? null : code.copy();
   dst.display = display == null ? null : display.copy();
   dst.userSelected = userSelected == null ? null : userSelected.copy();
   return dst;
 }
コード例 #4
0
ファイル: Attachment.java プロジェクト: HHSIDEAlab/hapi-fhir
 public Attachment copy() {
   Attachment dst = new Attachment();
   copyValues(dst);
   dst.contentType = contentType == null ? null : contentType.copy();
   dst.language = language == null ? null : language.copy();
   dst.data = data == null ? null : data.copy();
   dst.url = url == null ? null : url.copy();
   dst.size = size == null ? null : size.copy();
   dst.hash = hash == null ? null : hash.copy();
   dst.title = title == null ? null : title.copy();
   dst.creation = creation == null ? null : creation.copy();
   return dst;
 }
コード例 #5
0
ファイル: Meta.java プロジェクト: aemay2/hapi-fhir
 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;
 }