public boolean isApproveData(){
  for (  DataSet dataSet : getDataSets()) {
    if (dataSet != null && dataSet.getWorkflow() != null) {
      return true;
    }
  }
  return false;
}

public boolean isApproveData ( ) { for ( DataSet dataSet : getDataSets ( ) ) { if ( dataSet != null && dataSet . getWorkflow ( ) != null ) { return true ; } } return false ; }
indicates whether this data element requires approval of data . returns true if only one of the data sets associated with this data element requires approval .
