public void replaceResourceData(int idx,SMDiscoEntryData data) throws AMConsoleException {
  data.setDiscoStr(isUserResourceOffering());
  SMDiscoEntryData old=(SMDiscoEntryData)discoData.set(idx,data);
}

public void replaceResourceData ( int idx , SMDiscoEntryData data ) throws AMConsoleException { data . setDiscoStr ( isUserResourceOffering ( ) ) ; SMDiscoEntryData old = ( SMDiscoEntryData ) discoData . set ( idx , data ) ; }
replaces the resource offering entry to the list object .
