Bug 9562

Summary: [FEATURE REQUEST] HSSFCell.getCellValueRecord() should be public
Product: POI Reporter: Werner Froidevaux <wfro>
Component: HSSFAssignee: POI Developers List <dev>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: P3    
Version: 2.0-dev   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Werner Froidevaux 2002-06-01 15:28:44 UTC
The method  

protected CellValueRecordInterface getCellValueRecord()
    {
        return record;
    }

in HSSFCell is declared 'protected'. To implement a formula calculator I need 
access to the record from other packages. Couldn't the method be declared 
as 'public'. HSSFCell.getCellFormula() is too ineficient.
Comment 1 Andy Oliver 2002-06-01 15:45:34 UTC
No it shouldn't be public.  I would say the formula evalutor should work exactly
the opposite way.  It should be independant of the underlying model.

Making that public would break our encapsulation and clear seperation between
the low level model and high level.  
Comment 2 Andy Oliver 2002-06-01 19:25:18 UTC
Now you're talking.
Comment 3 Andy Oliver 2002-06-10 03:29:26 UTC
should not be made public