*/
private void getAssertsFromBaseTypes(XSSimpleType baseValidator) {
XSObjectList multiValFacetsOfBaseType = baseValidator.getMultiValueFacets();
for (int i = 0; i < multiValFacetsOfBaseType.getLength(); i++) {
XSMultiValueFacet mvFacet = (XSMultiValueFacet) multiValFacetsOfBaseType.item(i);
if (mvFacet.getFacetKind() == XSSimpleTypeDefinition.FACET_ASSERT) {
// add asserts to the global Vector object
Vector assertsToAdd = mvFacet.getAsserts();
for (int j = 0; j < assertsToAdd.size(); j++) {
// add assertion to the list, only if it's already not present
if (!assertExists((XSAssertImpl)assertsToAdd.get(j))) {
baseAsserts.add(assertsToAdd.get(j));
}