@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; UriDt other = (UriDt) obj; if (getValue() == null && other.getValue() == null) { return true; } if (getValue() == null || other.getValue() == null) { return false; } String normalize = normalize(getValue()); String normalize2 = normalize(other.getValue()); return normalize.equals(normalize2); }
@Override public int hashCode() { final int prime = 31; int result = 1; String normalize = normalize(getValue()); result = prime * result + ((normalize == null) ? 0 : normalize.hashCode()); return result; }
/** * Gets the value(s) for <b>identifier</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * An identifier that uniquely identifies this expansion of the valueset. Systems may re-use the same identifier as long as the expansion and the definition remain the same, but are not required to do so * </p> */ public String getIdentifier() { return getIdentifierElement().getValue(); }
/** * Gets the value(s) for <b>url</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * An alternative location where the data can be accessed * </p> */ public String getUrl() { return getUrlElement().getValue(); }
/** * Gets the value(s) for <b>system</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * An absolute URI that is used to reference this code system, including in [Coding]{datatypes.html#Coding}.system * </p> */ public String getSystem() { return getSystemElement().getValue(); }
/** * Gets the value(s) for <b>system</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * The identification of the code system that defines the meaning of the symbol in the code. * </p> */ public String getSystem() { return getSystemElement().getValue(); }
/** * Gets the value(s) for <b>system</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * The identification of the system that provides the coded form of the unit * </p> */ public String getSystem() { return getSystemElement().getValue(); }
/** * Gets the value(s) for <b>system</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * An absolute URI which is the code system in which the code for this item in the expansion is defined * </p> */ public String getSystem() { return getSystemElement().getValue(); }
/** * Gets the value(s) for <b>system</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * The identification of the code system that defines the meaning of the symbol in the code. * </p> */ public String getSystem() { return getSystemElement().getValue(); }
/** * Gets the value(s) for <b>system</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * An absolute URI which is the code system from which the selected codes come from * </p> */ public String getSystem() { return getSystemElement().getValue(); }
/** * Gets the value(s) for <b>system</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Establishes the namespace in which set of possible id values is unique. * </p> */ public String getSystem() { return getSystemElement().getValue(); }
/** * Gets the value(s) for <b>system</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * The identification of the system that provides the coded form of the unit * </p> */ public String getSystem() { return getSystemElement().getValue(); }
/** * Gets the value(s) for <b>url</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * A network address on which the device may be contacted directly * </p> */ public String getUrl() { return getUrlElement().getValue(); }
/** * Gets the value(s) for <b>url</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * An absolute URL that is used to identify this value set when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this value set is (or will be) published * </p> */ public String getUrl() { return getUrlElement().getValue(); }
boolean haveIdentifier = theIdentifier != null && isNotBlank(theIdentifier.getValue()); boolean haveValueSet = theValueSet != null && theValueSet.isEmpty() == false; return dao.expand(theId, toFilterString(theFilter), theRequestDetails); } else if (haveIdentifier) { return dao.expandByIdentifier(theIdentifier.getValue(), toFilterString(theFilter)); } else { return dao.expand(theValueSet, toFilterString(theFilter));
if (securityLabels != null) { for (BaseCodingDt next : securityLabels) { TagDefinition def = getTagOrNull(TagTypeEnum.SECURITY_LABEL, next.getSystemElement().getValue(), next.getCodeElement().getValue(), next.getDisplayElement().getValue()); if (def != null) { ResourceTag tag = theEntity.addTag(def);
@Override public int hashCode() { final int prime = 31; int result = 1; String normalize = normalize(getValue()); result = prime * result + ((normalize == null) ? 0 : normalize.hashCode()); return result; }
@Override public List<? extends IBaseCoding> getSecurity() { ArrayList<CodingDt> retVal = new ArrayList<CodingDt>(); List<BaseCodingDt> labelsList = ResourceMetadataKeyEnum.SECURITY_LABELS.get(BaseResource.this); if (labelsList == null) { return Collections.emptyList(); } for (BaseCodingDt next : labelsList) { retVal.add(new CodingDt(next.getSystemElement().getValue(), next.getCodeElement().getValue()).setDisplay(next.getDisplayElement().getValue())); } return Collections.unmodifiableList(retVal); }