public List<ViewProperty> getReferenceProperties(Bean bean) {
		List<ViewProperty> result = new ArrayList<>();
		
		for (int i = 0; i < bean.cardinality; i++) {
			Property property = bean.properties.get(i);
			result.addAll(property.viewProperties);
		}

		return result;

	}
public List<ViewProperty> getReferenceProperties(Bean bean) {
		List<ViewProperty> result = new ArrayList<>();
		
		for (int i = 0; i < bean.cardinality; i++) {
			Property property = bean.properties.get(i);
			result.addAll(property.viewProperties);
		}

		return result;

	}
public List < ViewProperty > getReferenceProperties ( Bean bean ) { List < ViewProperty > result = new ArrayList <> ( ) ; for ( int i = 0 ; i < bean . cardinality ; i ++ ) { Property property = bean . properties . get ( i ) ; result . addAll ( property . viewProperties ) ; } return result ; }
get the list of properties that will be used in bean views to show
references to other beans

@return
get the list of properties that will be used in bean views to show references to other beans