class DimensionalObjectUtils {

    public static String getKey( List<DimensionalItemObject> column, List<DimensionalItemObject> row )
    {
        List<String> ids = new ArrayList<>();

        List<DimensionalItemObject> dimensions = new ArrayList<>();
        dimensions.addAll( column );
        dimensions.addAll( row );

        for ( DimensionalItemObject item : dimensions )
        {
            ids.add( item.getDimensionItem() );
        }

        Collections.sort( ids );

        return StringUtils.join( ids, DIMENSION_SEP );
    }

}