List list = new ArrayList();
Collection res = m_resource.getRequirementList();
Iterator it = res.iterator();
while ( it.hasNext() )
{
RequirementImpl ci = ( RequirementImpl ) it.next();
Require require = new Require();
require.setExtend( String.valueOf( ci.isExtend() ) );
require.setMultiple( String.valueOf( ci.isMultiple() ) );
require.setOptional( String.valueOf( ci.isOptional() ) );
require.setName( ci.getName() );
require.setFilter( ci.getFilter() );
require.setValue( ci.getComment() );
list.add( require );
}
return list;
}