コード例 #1
0
 public ProcessRequest copy() {
   ProcessRequest dst = new ProcessRequest();
   copyValues(dst);
   dst.action = action == null ? null : action.copy();
   if (identifier != null) {
     dst.identifier = new ArrayList<Identifier>();
     for (Identifier i : identifier) dst.identifier.add(i.copy());
   }
   ;
   dst.ruleset = ruleset == null ? null : ruleset.copy();
   dst.originalRuleset = originalRuleset == null ? null : originalRuleset.copy();
   dst.created = created == null ? null : created.copy();
   dst.target = target == null ? null : target.copy();
   dst.provider = provider == null ? null : provider.copy();
   dst.organization = organization == null ? null : organization.copy();
   dst.request = request == null ? null : request.copy();
   dst.response = response == null ? null : response.copy();
   dst.nullify = nullify == null ? null : nullify.copy();
   dst.reference = reference == null ? null : reference.copy();
   if (item != null) {
     dst.item = new ArrayList<ItemsComponent>();
     for (ItemsComponent i : item) dst.item.add(i.copy());
   }
   ;
   if (include != null) {
     dst.include = new ArrayList<StringType>();
     for (StringType i : include) dst.include.add(i.copy());
   }
   ;
   if (exclude != null) {
     dst.exclude = new ArrayList<StringType>();
     for (StringType i : exclude) dst.exclude.add(i.copy());
   }
   ;
   dst.period = period == null ? null : period.copy();
   return dst;
 }
コード例 #2
0
 public ItemsComponent copy() {
   ItemsComponent dst = new ItemsComponent();
   copyValues(dst);
   dst.sequenceLinkId = sequenceLinkId == null ? null : sequenceLinkId.copy();
   return dst;
 }
コード例 #3
0
 public boolean hasItem() {
   if (this.item == null) return false;
   for (ItemsComponent item : this.item) if (!item.isEmpty()) return true;
   return false;
 }