public boolean accepts(ICapabilityModelElement provider)
{
if (provider instanceof IBundleCapability)
{
IBundleCapability bndl = (IBundleCapability) provider;
return symbolicName.equals(bndl.getSymbolicName())
&& versions.contains(bndl.getVersion());
}
else
{
return false;
}