public Map < String , AddOperation > getAddOperations ( ) { Map < String , AddOperation > addOperations = new TreeMap < String , AddOperation > ( ) ; for ( Entry < String , IOperation > entry : collectionUpdateData . entrySet ( ) ) { String key = entry . getKey ( ) ; IOperation op = entry . getValue ( ) ; if ( op . getOperationType ( ) . equals ( Type . ADD ) ) { AddOperation aop = ( AddOperation ) op ; if ( null != aop . getDefaultValue ( ) ) { addOperations . put ( key , aop ) ; } } } return addOperations ; }
Returns a Map of ADD operations which have a non - null default value specified .