@Override public Base setProperty(String name, Base value) throws FHIRException { if (name.equals("source")) { this.source = castToUri(value); // UriType } else if (name.equals("sourceVersion")) { this.sourceVersion = castToString(value); // StringType } else if (name.equals("target")) { this.target = castToUri(value); // UriType } else if (name.equals("targetVersion")) { this.targetVersion = castToString(value); // StringType } else if (name.equals("element")) { this.getElement().add((SourceElementComponent) value); } else if (name.equals("unmapped")) { this.unmapped = (ConceptMapGroupUnmappedComponent) value; // ConceptMapGroupUnmappedComponent } else return super.setProperty(name, value); return value; }
@Override public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { case -896505829: // source this.source = castToUri(value); // UriType return value; case 446171197: // sourceVersion this.sourceVersion = castToString(value); // StringType return value; case -880905839: // target this.target = castToUri(value); // UriType return value; case -1639412217: // targetVersion this.targetVersion = castToString(value); // StringType return value; case -1662836996: // element this.getElement().add((SourceElementComponent) value); // SourceElementComponent return value; case -194857460: // unmapped this.unmapped = (ConceptMapGroupUnmappedComponent) value; // ConceptMapGroupUnmappedComponent return value; default: return super.setProperty(hash, name, value); } }
@Override public Base setProperty(String name, Base value) throws FHIRException { if (name.equals("source")) { this.source = castToUri(value); // UriType } else if (name.equals("sourceVersion")) { this.sourceVersion = castToString(value); // StringType } else if (name.equals("target")) { this.target = castToUri(value); // UriType } else if (name.equals("targetVersion")) { this.targetVersion = castToString(value); // StringType } else if (name.equals("element")) { this.getElement().add((SourceElementComponent) value); } else if (name.equals("unmapped")) { this.unmapped = (ConceptMapGroupUnmappedComponent) value; // ConceptMapGroupUnmappedComponent } else return super.setProperty(name, value); return value; }
@Override public Base setProperty(int hash, String name, Base value) throws FHIRException { switch (hash) { case -896505829: // source this.source = castToUri(value); // UriType return value; case 446171197: // sourceVersion this.sourceVersion = castToString(value); // StringType return value; case -880905839: // target this.target = castToUri(value); // UriType return value; case -1639412217: // targetVersion this.targetVersion = castToString(value); // StringType return value; case -1662836996: // element this.getElement().add((SourceElementComponent) value); // SourceElementComponent return value; case -194857460: // unmapped this.unmapped = (ConceptMapGroupUnmappedComponent) value; // ConceptMapGroupUnmappedComponent return value; default: return super.setProperty(hash, name, value); } }