protected static ArrayList getSoilLayer ( HashMap data ) { if ( data . containsKey ( "soil" ) || ! data . containsKey ( "soilLayer" ) ) { return MapUtil . getBucket ( data , "soil" ) . getDataList ( ) ; } else { return new BucketEntry ( data ) . getDataList ( ) ; } }
Get soil layer data array from data holder .