public int getTotalCardinality ( Class < ? extends ElementBase > sourceClass ) { Cardinalities cardinalities = getCardinalities ( sourceClass ) ; return cardinalities == null ? 0 : cardinalities . total ; }
Returns the sum of cardinalities across all related classes .