@Override
public boolean contains(ResourceMapping mapping) {
if (mapping.getModelProviderId().equals(getModelProviderId())) {
GitModelObject obj = (GitModelObject) mapping.getModelObject();
return obj.repositoryHashCode() == object.repositoryHashCode();
}
return false;
}