public BaseResourceReferenceDt setReference(IIdType theReference) { if (theReference instanceof IdDt) { setReference((IdDt) theReference); } else if (theReference != null) { setReference(new IdDt(theReference.getValue())); } else { setReference((IdDt) null); } return this; }
/** * Constructor * * @param theResource * The loaded resource itself */ public BaseResourceReferenceDt(IResource theResource) { myResource = theResource; setReference(theResource.getId()); }
if (nextRef.getReference().isEmpty() == false) { if (nextRef.getReference().hasVersionIdPart()) { nextRef.setReference(nextRef.getReference().toUnqualifiedVersionless());
public BaseResourceReferenceDt setReference(IIdType theReference) { if (theReference instanceof IdDt) { setReference((IdDt) theReference); } else if (theReference != null) { setReference(new IdDt(theReference.getValue())); } else { setReference((IdDt) null); } return this; }
IdDt newId = theIdSubstitutions.get(nextId); ourLog.debug(" * Replacing resource ref {} with {}", nextId, newId); nextRef.setReference(newId); } else { ourLog.debug(" * Reference [{}] does not exist in bundle", nextId);
/** * Constructor * * @param theResource * The loaded resource itself */ public BaseResourceReferenceDt(IResource theResource) { myResource = theResource; setReference(theResource.getId()); }
if (nextRef.getReference().isEmpty() == false) { if (nextRef.getReference().hasVersionIdPart()) { nextRef.setReference(nextRef.getReference().toUnqualifiedVersionless());
IdDt newId = theIdSubstitutions.get(nextId); ourLog.debug(" * Replacing resource ref {} with {}", nextId, newId); nextRef.setReference(newId); } else { ourLog.debug(" * Reference [{}] does not exist in bundle", nextId);