public void addIncludeElementsInAllList() { for (final Incl incl : this.includes) { if (incl.getSchema() != null) { this.types.addAll(incl.getSchema().getTypes()); this.elements.addAll(incl.getSchema().getElements()); this.attributes.addAll(incl.getSchema().getAttributes()); } } }