for (Enumeration<PropertyRepresentation> r : ei.definition.getRepresentation()) { if (r.getValue() == PropertyRepresentation.XMLATTR) { isXmlAttr = true; if (ed.getRepresentation().isEmpty()) { // ignore xml attributes int count = 0; List<ElementDefinition> slices = null;
private boolean isAttr(Property property) { for (Enumeration<PropertyRepresentation> r : property.getDefinition().getRepresentation()) { if (r.getValue() == PropertyRepresentation.XMLATTR) { return true; } } return false; }
private boolean isText(Property property) { for (Enumeration<PropertyRepresentation> r : property.getDefinition().getRepresentation()) { if (r.getValue() == PropertyRepresentation.XMLTEXT) { return true; } } return false; }
} else if (name.equals("representation")) { value = new PropertyRepresentationEnumFactory().fromType(castToCode(value)); this.getRepresentation().add((Enumeration) value); } else if (name.equals("sliceName")) { this.sliceName = castToString(value); // StringType
copyElement(src, tgt); tgt.setPath(src.getPath()); for (org.hl7.fhir.dstu3.model.Enumeration<org.hl7.fhir.dstu3.model.ElementDefinition.PropertyRepresentation> t : src.getRepresentation()) tgt.addRepresentation(convertPropertyRepresentation(t.getValue())); if (src.hasSliceName())
copyElement(src, tgt); tgt.setPath(src.getPath()); for (org.hl7.fhir.dstu3.model.Enumeration<org.hl7.fhir.dstu3.model.ElementDefinition.PropertyRepresentation> t : src.getRepresentation()) tgt.addRepresentation(convertPropertyRepresentation(t.getValue())); if (src.hasSliceName())
for (Enumeration<PropertyRepresentation> r : ei.definition.getRepresentation()) { if (r.getValue() == PropertyRepresentation.XMLATTR) { isXmlAttr = true; if (ed.getRepresentation().isEmpty()) { // ignore xml attributes int count = 0; List<ElementDefinition> slices = null;
case -671065907: // representation value = new PropertyRepresentationEnumFactory().fromType(castToCode(value)); this.getRepresentation().add((Enumeration) value); // Enumeration<PropertyRepresentation> return value; case -825289923: // sliceName
copyElement(src, tgt); tgt.setPath(src.getPath()); for (org.hl7.fhir.dstu3.model.Enumeration<org.hl7.fhir.dstu3.model.ElementDefinition.PropertyRepresentation> t : src.getRepresentation()) tgt.addRepresentation(convertPropertyRepresentation(t.getValue())); if (src.hasSliceName())
copyElement(src, tgt); tgt.setPath(src.getPath()); for (org.hl7.fhir.dstu3.model.Enumeration<org.hl7.fhir.dstu3.model.ElementDefinition.PropertyRepresentation> t : src.getRepresentation()) tgt.addRepresentation(convertPropertyRepresentation(t.getValue())); if (src.hasSliceName())