- /**
- * Returns the concrete case according to specified QName.
- *
- * @param qname
- * QName of sought Choice Case Node
- * @return child case node of this Choice if child with given name is present, <code>null</code> otherwise.
- *
- * @deprecated Use either {@code getCases().get(name)} or #findCase(QName)
- */
- @Deprecated
- default CaseSchemaNode getCaseNodeByName(final QName qname) {
- return getCases().get(qname);
- }
-