public List<BaseRuntimeChildDefinition> getChildrenIncludingUrl() { return super.getChildren(); }
@Override public void sealAndInitialize(FhirContext theContext, Map<Class<? extends IBase>, BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) { super.sealAndInitialize(theContext, theClassToElementDefinitions); /* * The "url" child is a weird child because it is not parsed and encoded in the normal way, * so we exclude it here */ List<BaseRuntimeChildDefinition> superChildren = super.getChildren(); ArrayList<BaseRuntimeChildDefinition> children = new ArrayList<BaseRuntimeChildDefinition>(); for (BaseRuntimeChildDefinition baseRuntimeChildDefinition : superChildren) { if (baseRuntimeChildDefinition.getValidChildNames().contains("url")) { continue; } children.add(baseRuntimeChildDefinition); } myChildren = Collections.unmodifiableList(children); }
public List<BaseRuntimeChildDefinition> getChildrenIncludingUrl() { return super.getChildren(); }
@Override public void sealAndInitialize(FhirContext theContext, Map<Class<? extends IBase>, BaseRuntimeElementDefinition<?>> theClassToElementDefinitions) { super.sealAndInitialize(theContext, theClassToElementDefinitions); /* * The "url" child is a weird child because it is not parsed and encoded in the normal way, * so we exclude it here */ List<BaseRuntimeChildDefinition> superChildren = super.getChildren(); ArrayList<BaseRuntimeChildDefinition> children = new ArrayList<BaseRuntimeChildDefinition>(); for (BaseRuntimeChildDefinition baseRuntimeChildDefinition : superChildren) { if (baseRuntimeChildDefinition.getValidChildNames().contains("url")) { continue; } children.add(baseRuntimeChildDefinition); } myChildren = Collections.unmodifiableList(children); }