nus-yam/ex-repair huggingface dataset:
Program: 102262
Project: 102262
Buggy source:
/** 
 * Attempt to convert the specified string to the appropriate ObjectID instance. This method is called by the   {@link IDGenerator#stringToObject(String)} method, whichmust process the protocol to determine the correct parser to use.  As such, it guarantees that the parser that receives this call can assume that the protocol was equal to the protocol returned by the parser's  {@link ObjectIDDescriptor#getProtocol()}.
 * @param value the stringified id with the protocol and ObjectID.DELIMITER alreadyremoved, and should never null or zero length
 * @return the ObjectID instance for the stringified ID if this factory is ableto parse the string, or null if the factory is unaware of the specified format.
 * @throws InvalidIDException if the parser is aware of this protocol, but it is of the wrongformat for this type of ObjectID.
 */
@Override public ObjectID stringWithoutProtocolToObject(String value) throws InvalidIDException {
  try {
    return new LongID(Long.parseLong(value));
  }
 catch (  NumberFormatException e) {
    throw new InvalidIDException(CorePlugin.Util.getString("String_Node_Str",value,getProtocol()));
  }
}

Fixed version (ground truth):
/** 
 * Attempt to convert the specified string to the appropriate ObjectID instance. This method is called by the   {@link IDGenerator#stringToObject(String)} method, whichmust process the protocol to determine the correct parser to use.  As such, it guarantees that the parser that receives this call can assume that the protocol was equal to the protocol returned by the parser's  {@link ParsedObjectID#getProtocol()}.
 * @param value the stringified id with the protocol and ObjectID.DELIMITER alreadyremoved, and should never null or zero length
 * @return the ObjectID instance for the stringified ID if this factory is ableto parse the string, or null if the factory is unaware of the specified format.
 * @throws InvalidIDException if the parser is aware of this protocol, but it is of the wrongformat for this type of ObjectID.
 */
@Override public ObjectID stringWithoutProtocolToObject(String value) throws InvalidIDException {
  try {
    return new LongID(Long.parseLong(value));
  }
 catch (  NumberFormatException e) {
    throw new InvalidIDException(CorePlugin.Util.getString("String_Node_Str",value,getProtocol()));
  }
}
Program: 102263
Project: 102263
Buggy source:
/** 
 * Attempt to convert the specified string to the appropriate ObjectID instance. This method is called by the   {@link IDGenerator#stringToObject(String)} method, whichmust process the protocol to determine the correct parser to use.  As such, it guarantees that the parser that receives this call can assume that the protocol was equal to the protocol returned by the parser's  {@link ObjectIDDescriptor#getProtocol()}.
 * @param value the stringified id with the protocol and ObjectID.DELIMITER alreadyremoved, and should never null or zero length
 * @return the ObjectID instance for the stringified ID if this factory is ableto parse the string, or null if the factory is unaware of the specified format.
 * @throws InvalidIDException if the parser is aware of this protocol, but it is of the wrongformat for this type of ObjectID.
 */
ObjectID stringWithoutProtocolToObject(String value) throws InvalidIDException ;

Fixed version (ground truth):
/** 
 * Attempt to convert the specified string to the appropriate ObjectID instance. This method is called by the   {@link IDGenerator#stringToObject(String)} method, whichmust process the protocol to determine the correct parser to use.  As such, it guarantees that the parser that receives this call can assume that the protocol was equal to the protocol returned by the parser's  {@link ParsedObjectID#getProtocol()}.
 * @param value the stringified id with the protocol and ObjectID.DELIMITER alreadyremoved, and should never null or zero length
 * @return the ObjectID instance for the stringified ID if this factory is ableto parse the string, or null if the factory is unaware of the specified format.
 * @throws InvalidIDException if the parser is aware of this protocol, but it is of the wrongformat for this type of ObjectID.
 */
ObjectID stringWithoutProtocolToObject(String value) throws InvalidIDException ;
Program: 102264
Project: 102264
Buggy source:
/** 
 * Attempt to convert the specified string to the appropriate ObjectID instance. This method is called by the   {@link IDGenerator#stringToObject(String)} method, whichmust process the protocol to determine the correct parser to use.  As such, it guarantees that the parser that receives this call can assume that the protocol was equal to the protocol returned by the parser's  {@link ObjectIDDescriptor#getProtocol()}.
 * @param value the stringified id with the protocol and ObjectID.DELIMITER alreadyremoved, and should never null or zero length
 * @return the ObjectID instance for the stringified ID if this factory is ableto parse the string, or null if the factory is unaware of the specified format.
 * @throws InvalidIDException if the parser is aware of this protocol, but it is of the wrongformat for this type of ObjectID.
 */
@Override public ObjectID stringWithoutProtocolToObject(String value) throws InvalidIDException {
  try {
    return new StringID(value);
  }
 catch (  NumberFormatException e) {
    throw new InvalidIDException(CorePlugin.Util.getString("String_Node_Str",value,getProtocol()));
  }
}

Fixed version (ground truth):
/** 
 * Attempt to convert the specified string to the appropriate ObjectID instance. This method is called by the   {@link IDGenerator#stringToObject(String)} method, whichmust process the protocol to determine the correct parser to use.  As such, it guarantees that the parser that receives this call can assume that the protocol was equal to the protocol returned by the parser's  {@link ParsedObjectID#getProtocol()}.
 * @param value the stringified id with the protocol and ObjectID.DELIMITER alreadyremoved, and should never null or zero length
 * @return the ObjectID instance for the stringified ID if this factory is ableto parse the string, or null if the factory is unaware of the specified format.
 * @throws InvalidIDException if the parser is aware of this protocol, but it is of the wrongformat for this type of ObjectID.
 */
@Override public ObjectID stringWithoutProtocolToObject(String value) throws InvalidIDException {
  try {
    return new StringID(value);
  }
 catch (  NumberFormatException e) {
    throw new InvalidIDException(CorePlugin.Util.getString("String_Node_Str",value,getProtocol()));
  }
}
Program: 102265
Project: 102265
Buggy source:
/** 
 * Attempt to convert the specified string to the appropriate ObjectID instance. This method is called by the   {@link IDGenerator#stringToObject(String)} method, whichmust process the protocol to determine the correct parser to use.  As such, it guarantees that the parser that receives this call can assume that the protocol was equal to the protocol returned by the parser's  {@link ObjectIDDescriptor#getProtocol()}.
 * @param value the stringified id with the protocol and ObjectID.DELIMITER alreadyremoved, and should never null or zero length
 * @return the ObjectID instance for the stringified ID if this factory is ableto parse the string, or null if the factory is unaware of the specified format.
 * @throws InvalidIDException if the parser is aware of this protocol, but it is of the wrongformat for this type of ObjectID.
 */
@Override public ObjectID stringWithoutProtocolToObject(String value) throws InvalidIDException {
  return UUID.stringToObject(value);
}

Fixed version (ground truth):
/** 
 * Attempt to convert the specified string to the appropriate ObjectID instance. This method is called by the   {@link IDGenerator#stringToObject(String)} method, whichmust process the protocol to determine the correct parser to use.  As such, it guarantees that the parser that receives this call can assume that the protocol was equal to the protocol returned by the parser's  {@link ParsedObjectID#getProtocol()}.
 * @param value the stringified id with the protocol and ObjectID.DELIMITER alreadyremoved, and should never null or zero length
 * @return the ObjectID instance for the stringified ID if this factory is ableto parse the string, or null if the factory is unaware of the specified format.
 * @throws InvalidIDException if the parser is aware of this protocol, but it is of the wrongformat for this type of ObjectID.
 */
@Override public ObjectID stringWithoutProtocolToObject(String value) throws InvalidIDException {
  return UUID.stringToObject(value);
}
Program: 102267
Project: 102267
Buggy source:
/** 
 * Logs the given Throwable. <p> If this class is initialized by the Eclipse Platform, then this will forward the request to the  {@link org.eclipse.core.runtime.ILog#log(org.eclipse.core.runtime.IStatus)}method. In other cases (e.g., JUnit), the status is sent to the   {@link SystemLogger}. </p>
 * @param throwable the Throwable to log; may not be null
 */
@Override public void log(final Throwable throwable){
  log(IStatus.ERROR,throwable,throwable.getLocalizedMessage());
}

Fixed version (ground truth):
/** 
 * Logs the given Throwable. <p> If this class is initialized by the Eclipse Platform, then this will forward the request to the  {@link org.eclipse.core.runtime.ILog#log(org.eclipse.core.runtime.IStatus)}method. </p>
 * @param throwable the Throwable to log; may not be null
 */
@Override public void log(final Throwable throwable){
  log(IStatus.ERROR,throwable,throwable.getLocalizedMessage());
}
Program: 102268
Project: 102268
Buggy source:
/** 
 * Logs the given Throwable. <p> If this class is initialized by the Eclipse Platform, then this will forward the request to the  {@link org.eclipse.core.runtime.ILog#log(org.eclipse.core.runtime.IStatus)}method. In other cases (e.g., JUnit), the status is sent to the   {@link SystemLogger}. </p>
 * @param throwable the Throwable to log; may not be null
 */
@Override public void log(final Throwable throwable){
  log(IStatus.ERROR,throwable,throwable.getLocalizedMessage());
}

Fixed version (ground truth):
/** 
 * Logs the given Throwable. <p> If this class is initialized by the Eclipse Platform, then this will forward the request to the  {@link org.eclipse.core.runtime.ILog#log(org.eclipse.core.runtime.IStatus)}method. </p>
 * @param throwable the Throwable to log; may not be null
 */
@Override public void log(final Throwable throwable){
  log(IStatus.ERROR,throwable,throwable.getLocalizedMessage());
}
Program: 102269
Project: 102269
Buggy source:
/** 
 * If the stopwatch is active, record the starting time for a time segment. If the stopwatch is inactive, the method returns immediately.
 * @see isActive
 */
public void start(boolean reset){
  if (reset)   reset();
  start();
}

Fixed version (ground truth):
/** 
 * If the stopwatch is active, record the starting time for a time segment. If the stopwatch is inactive, the method returns immediately.
 * @see #isActive
 */
public void start(boolean reset){
  if (reset)   reset();
  start();
}
Program: 102270
Project: 102270
Buggy source:
/** 
 * If the stopwatch is active, record the ending time for a time segment. If the stopwatch is inactive, the method returns immediately.
 * @see isActive
 */
public void stop(){
  if (active) {
    stop=System.currentTimeMillis();
    stats.add(stop - start);
  }
}

Fixed version (ground truth):
/** 
 * If the stopwatch is active, record the ending time for a time segment. If the stopwatch is inactive, the method returns immediately.
 * @see #isActive
 */
public void stop(){
  if (active) {
    stop=System.currentTimeMillis();
    stats.add(stop - start);
  }
}
Program: 102271
Project: 102271
Buggy source:
/** 
 * @see org.teiid.designer.ui.common.widget.DefaultContentProvider#getElements(java.lang.Object)
 * @since 5.0.1
 */
@Override public Object[] getElements(Object inputElement){
  return getChildren(inputElement);
}

Fixed version (ground truth):
/** 
 * @since 5.0.1
 */
@Override public Object[] getElements(Object inputElement){
  return getChildren(inputElement);
}
Program: 102272
Project: 102272
Buggy source:
/** 
 * @see org.eclipse.ui.advisor.core.vdbview.ui.webservices.InfoPopAction#getAction()
 * @since 5.0
 */
@Override public IAction getAction(){
  if (super.getAction() == null) {
    IAction action=null;
    try {
      action=AdvisorUiPlugin.getDefault().getActionService().getAction(this.actionClass);
    }
 catch (    CoreException theException) {
      action=GlobalActionsMap.UNSUPPORTED_ACTION;
    }
    setAction(action);
  }
  IAction theAction=super.getAction();
  return theAction;
}

Fixed version (ground truth):
/** 
 * @see InfoPopAction#getAction()
 * @since 5.0
 */
@Override public IAction getAction(){
  if (super.getAction() == null) {
    IAction action=null;
    try {
      action=AdvisorUiPlugin.getDefault().getActionService().getAction(this.actionClass);
    }
 catch (    CoreException theException) {
      action=GlobalActionsMap.UNSUPPORTED_ACTION;
    }
    setAction(action);
  }
  IAction theAction=super.getAction();
  return theAction;
}
Program: 102273
Project: 102273
Buggy source:
/** 
 * {@inheritDoc}
 * @see org.eclipse.ui.IAdvisorActionHandler.AdvisorActionHandler#getStatus()
 */
@Override public AdvisorStatus getStatus(){
  return status;
}

Fixed version (ground truth):
/** 
 * {@inheritDoc}
 * @see IAdvisorActionHandler#getStatus()
 */
@Override public AdvisorStatus getStatus(){
  return status;
}
Program: 102274
Project: 102274
Buggy source:
/** 
 * {@inheritDoc}
 * @see org.eclipse.ui.IAdvisorActionHandler.AdvisorActionHandler#setStatus(org.eclipse.core.runtime.IStatus)
 */
@Override public void setStatus(AdvisorStatus status){
  this.status=status;
}

Fixed version (ground truth):
/** 
 * {@inheritDoc}
 * @see IAdvisorActionHandler#setStatus(org.eclipse.core.runtime.IStatus)
 */
@Override public void setStatus(AdvisorStatus status){
  this.status=status;
}
Program: 102275
Project: 102275
Buggy source:
/** 
 * {@inheritDoc}
 * @see org.teiid.designer.advisor.ui.core.status.IStatusContentProvider.StatusContentProvider#getText(int)
 */
@Override public String getText(int id){
  return "String_Node_Str";
}

Fixed version (ground truth):
/** 
 * {@inheritDoc}
 * @see IStatusContentProvider#getText(int)
 */
@Override public String getText(int id){
  return "String_Node_Str";
}
Program: 102276
Project: 102276
Buggy source:
/** 
 * {@inheritDoc}
 * @see org.teiid.designer.advisor.ui.core.status.IStatusContentProvider.StatusContentProvider#getRowsProviders()
 */
@Override public IStatusRowProvider[] getRowsProviders(){
  if (this.providers == null) {
    initRowProviders();
  }
  return this.providers;
}

Fixed version (ground truth):
/** 
 * {@inheritDoc}
 * @see IStatusContentProvider#getRowsProviders()
 */
@Override public IStatusRowProvider[] getRowsProviders(){
  if (this.providers == null) {
    initRowProviders();
  }
  return this.providers;
}
Program: 102277
Project: 102277
Buggy source:
/** 
 * {@inheritDoc}
 * @see org.teiid.designer.advisor.ui.core.status.IStatusContentProvider.StatusContentProvider#getLinkTooltip(int)
 */
@Override public String getLinkTooltip(int id){
  return "String_Node_Str";
}

Fixed version (ground truth):
/** 
 * {@inheritDoc}
 * @see IStatusContentProvider#getLinkTooltip(int)
 */
@Override public String getLinkTooltip(int id){
  return "String_Node_Str";
}
Program: 102278
Project: 102278
Buggy source:
/** 
 * {@inheritDoc}
 * @see org.teiid.designer.advisor.ui.core.status.IStatusContentProvider.StatusContentProvider#getStatus(int)
 */
@Override public IStatus getStatus(int id){
  return statusManager.getCurrentStatus().get(id);
}

Fixed version (ground truth):
/** 
 * {@inheritDoc}
 * @see IStatusContentProvider#getStatus(int)
 */
@Override public IStatus getStatus(int id){
  return statusManager.getCurrentStatus().get(id);
}
Program: 102279
Project: 102279
Buggy source:
/** 
 * {@inheritDoc}
 * @see org.teiid.designer.advisor.ui.core.status.IStatusContentProvider.StatusContentProvider#getDescription()
 */
@Override public String getDescription(){
  return "String_Node_Str";
}

Fixed version (ground truth):
/** 
 * {@inheritDoc}
 * @see IStatusContentProvider#getDescription()
 */
@Override public String getDescription(){
  return "String_Node_Str";
}
Program: 102280
Project: 102280
Buggy source:
/** 
 * {@inheritDoc}
 * @see org.teiid.designer.advisor.ui.core.status.IStatusContentProvider.StatusContentProvider#getStatusImage(int)
 */
@Override public Image getStatusImage(int id){
  return AdvisorUiPlugin.getImageHelper().CHECKED_BOX_IMAGE;
}

Fixed version (ground truth):
/** 
 * {@inheritDoc}
 * @see IStatusContentProvider#getStatusImage(int)
 */
@Override public Image getStatusImage(int id){
  return AdvisorUiPlugin.getImageHelper().CHECKED_BOX_IMAGE;
}
Program: 102281
Project: 102281
Buggy source:
/** 
 * {@inheritDoc}
 * @see org.teiid.designer.advisor.ui.core.status.IStatusContentProvider.StatusContentProvider#getTitle()
 */
@Override public String getTitle(){
  if (statusManager == null || statusManager.getCurrentObject() == null) {
    return "String_Node_Str";
  }
  return ((IProject)statusManager.getCurrentObject()).getName();
}

Fixed version (ground truth):
/** 
 * {@inheritDoc}
 * @see IStatusContentProvider#getTitle()
 */
@Override public String getTitle(){
  if (statusManager == null || statusManager.getCurrentObject() == null) {
    return "String_Node_Str";
  }
  return ((IProject)statusManager.getCurrentObject()).getName();
}
Program: 102282
Project: 102282
Buggy source:
/** 
 * {@inheritDoc}
 * @see org.teiid.designer.advisor.ui.core.status.IStatusContentProvider.StatusContentProvider#getImage(int)
 */
@Override public Image getImage(int id){
  return AdvisorUiPlugin.getImageHelper().EMPTY_BOX_IMAGE;
}

Fixed version (ground truth):
/** 
 * {@inheritDoc}
 * @see IStatusContentProvider#getImage(int)
 */
@Override public Image getImage(int id){
  return AdvisorUiPlugin.getImageHelper().EMPTY_BOX_IMAGE;
}
Program: 102283
Project: 102283
Buggy source:
/** 
 * {@inheritDoc}
 * @see org.teiid.designer.advisor.ui.core.status.IStatusContentProvider.StatusContentProvider#getDefaultStatus()
 */
@Override public IStatus getDefaultStatus(){
  return StatusValidationConstants.STATUS_MSGS.ADVISOR_NO_PROJECT_SELECTED;
}

Fixed version (ground truth):
/** 
 * {@inheritDoc}
 * @see IStatusContentProvider#getDefaultStatus()
 */
@Override public IStatus getDefaultStatus(){
  return StatusValidationConstants.STATUS_MSGS.ADVISOR_NO_PROJECT_SELECTED;
}
Program: 102284
Project: 102284
Buggy source:
/** 
 * @see org.eclipse.jface.viewers.ILabelProviderListener#labelProviderChanged(org.eclipse.jface.viewers.LabelProviderChangedEvent)
 */
public void labelProviderChanged(final LabelProviderChangedEvent event){
  boolean modelChanged=false;
  final Object[] elements=event.getElements();
  if (elements != null && elements.length > 1)   for (  final Object nextElement : elements) {
    if (nextElement instanceof EObject) {
      if (ModelUtilities.areModelResourcesSame((EObject)nextElement,getDiagram()))       modelChanged=true;
    }
 else     if (nextElement instanceof IResource)     if (ModelUtilities.isModelFile((IResource)nextElement)) {
      ModelResource modelResource=null;
      try {
        modelResource=ModelUtil.getModelResource((IFile)nextElement,false);
      }
 catch (      final ModelWorkspaceException e) {
        DiagramUiConstants.Util.log(IStatus.ERROR,e,"String_Node_Str");
      }
      if (modelResource != null && modelResource.equals(modelResource))       modelChanged=true;
    }
    if (modelChanged)     break;
  }
  if (getModelFactory() != null && getCurrentModel() != null && modelChanged)   getDecoratorHandler().handleLabelProviderChanged();
}

Fixed version (ground truth):
/** 
 * @see org.eclipse.jface.viewers.ILabelProviderListener#labelProviderChanged(org.eclipse.jface.viewers.LabelProviderChangedEvent)
 */
public void labelProviderChanged(final LabelProviderChangedEvent event){
  boolean modelChanged=false;
  final Object[] elements=event.getElements();
  if (elements == null) {
    return;
  }
  for (  final Object nextElement : elements) {
    if (nextElement instanceof EObject && ModelUtilities.areModelResourcesSame((EObject)nextElement,getDiagram())) {
      modelChanged=true;
      break;
    }
 else     if (nextElement instanceof IResource && ModelUtilities.isModelFile((IResource)nextElement)) {
      ModelResource modelResource=null;
      ModelResource diagramModelResource=null;
      try {
        modelResource=ModelUtil.getModelResource((IFile)nextElement,false);
        diagramModelResource=ModelUtil.getModel(getDiagram());
      }
 catch (      final ModelWorkspaceException e) {
        DiagramUiConstants.Util.log(IStatus.ERROR,e,"String_Node_Str");
      }
      if (modelResource != null && diagramModelResource != null && modelResource.equals(diagramModelResource)) {
        modelChanged=true;
        break;
      }
    }
  }
  if (getModelFactory() != null && getCurrentModel() != null && modelChanged)   getDecoratorHandler().handleLabelProviderChanged();
}
Program: 102286
Project: 102286
Buggy source:
void displayFunctionChange(){
  if ((cbxFunction.getSelectionIndex() == -1) || !cbxFunction.getText().equals(model.getFunction())) {
    cbxFunction.setText(model.getFunctionName());
    cbxFunction.setToolTipText(model.getFunctionDescription());
    viewer.refresh();
    for (int i=0; i < TBL_HDRS.length; table.getColumn(i++).pack()) {
    }
  }
}

Fixed version (ground truth):
void displayFunctionChange(){
  if ((cbxFunction.getSelectionIndex() == -1) || !cbxFunction.getText().equals(model.getFunction().toString())) {
    cbxFunction.setText(model.getFunctionName());
    cbxFunction.setToolTipText(model.getFunctionDescription());
    viewer.refresh();
    for (int i=0; i < TBL_HDRS.length; table.getColumn(i++).pack()) {
    }
  }
}
Program: 102287
Project: 102287
Buggy source:
private static Resource getResourceStartsWithPathSeparator(final Resource[] fileResources,final String workspaceUri){
  Resource fileResource=null;
  IPath pathInWorkspace;
  if (workspaceUri.charAt(0) == IPath.SEPARATOR) {
    pathInWorkspace=new Path(workspaceUri);
    for (    final Resource fileResource2 : fileResources) {
      fileResource=fileResource2;
      if (fileResource != null && fileResource.getURI().equals(pathInWorkspace))       return fileResource;
    }
  }
  return null;
}

Fixed version (ground truth):
private static Resource getResourceStartsWithPathSeparator(final Resource[] fileResources,final String workspaceUri){
  Resource fileResource=null;
  IPath pathInWorkspace;
  if (workspaceUri.charAt(0) == IPath.SEPARATOR) {
    pathInWorkspace=new Path(workspaceUri);
    URI pathInWorkspaceURI=URI.createURI(pathInWorkspace.toString());
    for (    final Resource fileResource2 : fileResources) {
      fileResource=fileResource2;
      if (fileResource != null && fileResource.getURI().equals(pathInWorkspaceURI))       return fileResource;
    }
  }
  return null;
}
Program: 102288
Project: 102288
Buggy source:
/** 
 * @since 3.1
 */
protected static Test suite(){
  return new TestSuite(TestAbstractProxyContainer.class);
}

Fixed version (ground truth):
/** 
 * @since 3.1
 */
public static Test suite(){
  return new TestSuite(TestAbstractProxyContainer.class);
}
Program: 102289
Project: 102289
Buggy source:
public boolean visit(final JdbcNode node){
  visitedNodes.add(node);
  node.allowsChildren();
  Assert.assertTrue(node.equals(node));
  node.getFullyQualifiedName();
  Assert.assertNotNull(node.getJdbcDatabase());
  Assert.assertNotNull(node.getName());
  if (!(node instanceof JdbcDatabase)) {
    Assert.assertNotNull(node.getParent());
  }
  node.getParentDatabaseObject(true,true);
  node.getParentDatabaseObject(true,false);
  node.getParentDatabaseObject(false,true);
  node.getParentDatabaseObject(false,false);
  final IPath path=node.getPath();
  Assert.assertNotNull(path);
  node.getPathInSource();
  node.getSelectionMode();
  final int type=node.getType();
  Assert.assertTrue(type >= JdbcNode.DATABASE && type <= JdbcNode.PROCEDURE_TYPE);
  final String typeName=node.getTypeName();
  Assert.assertTrue(node.hashCode() != 0);
  final boolean dbObj=node.isDatabaseObject();
  if (node instanceof JdbcDatabase || node instanceof JdbcTableType || node instanceof JdbcProcedureType) {
    Assert.assertEquals("String_Node_Str" + path + "String_Node_Str"+ typeName+ "String_Node_Str",false,dbObj);
  }
  return true;
}

Fixed version (ground truth):
public boolean visit(final JdbcNode node){
  visitedNodes.add(node);
  node.allowsChildren();
  node.getFullyQualifiedName();
  Assert.assertNotNull(node.getJdbcDatabase());
  Assert.assertNotNull(node.getName());
  if (!(node instanceof JdbcDatabase)) {
    Assert.assertNotNull(node.getParent());
  }
  node.getParentDatabaseObject(true,true);
  node.getParentDatabaseObject(true,false);
  node.getParentDatabaseObject(false,true);
  node.getParentDatabaseObject(false,false);
  final IPath path=node.getPath();
  Assert.assertNotNull(path);
  node.getPathInSource();
  node.getSelectionMode();
  final int type=node.getType();
  Assert.assertTrue(type >= JdbcNode.DATABASE && type <= JdbcNode.PROCEDURE_TYPE);
  final String typeName=node.getTypeName();
  Assert.assertTrue(node.hashCode() != 0);
  final boolean dbObj=node.isDatabaseObject();
  if (node instanceof JdbcDatabase || node instanceof JdbcTableType || node instanceof JdbcProcedureType) {
    Assert.assertEquals("String_Node_Str" + path + "String_Node_Str"+ typeName+ "String_Node_Str",false,dbObj);
  }
  return true;
}
Program: 102290
Project: 102290
Buggy source:
public void testSetGetFaults(){
  Operation oper=new OperationImpl(ModelElementFactory.getTestBinding("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"));
  Fault[] faults=new Fault[]{ModelElementFactory.getTestFault("String_Node_Str","String_Node_Str",oper)};
  oper.setFaults(faults);
  assertEquals(faults,oper.getFaults());
}

Fixed version (ground truth):
public void testSetGetFaults(){
  Operation oper=new OperationImpl(ModelElementFactory.getTestBinding("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"));
  Fault[] faults=new Fault[]{ModelElementFactory.getTestFault("String_Node_Str","String_Node_Str",oper)};
  oper.setFaults(faults);
  assertSame(faults,oper.getFaults());
}
Program: 102291
Project: 102291
Buggy source:
protected static Test suite(){
  return new TestSuite(TestSelectionUtilities.class);
}

Fixed version (ground truth):
public static Test suite(){
  return new TestSuite(TestSelectionUtilities.class);
}
Program: 102292
Project: 102292
Buggy source:
protected static Test suite(){
  return new TestSuite(TestModelUtilities.class);
}

Fixed version (ground truth):
public static Test suite(){
  return new TestSuite(TestModelUtilities.class);
}
Program: 102293
Project: 102293
Buggy source:
/** 
 * Utility method (mostly for testing) that allows one to add a child node one at a time. This method does <i>not</i> check whether the node already exists as a child of this node.
 */
void addChild(final JdbcNode node) throws JdbcException {
  final JdbcNode[] currentChildren=this.getChildren();
  final int currentNumChildren=currentChildren.length;
  if (currentNumChildren != 0) {
    final JdbcNode[] newChildren=new JdbcNode[currentNumChildren + 1];
    System.arraycopy(currentChildren,0,newChildren,0,currentNumChildren);
    newChildren[currentNumChildren]=node;
    children=newChildren;
  }
 else {
    children=new JdbcNode[]{node};
  }
  final InternalJdbcDatabase dbNode=(InternalJdbcDatabase)getJdbcDatabase();
  dbNode.getJdbcNodeCache().put(node);
}

Fixed version (ground truth):
/** 
 * Utility method (mostly for testing) that allows one to add a child node one at a time. This method does <i>not</i> check whether the node already exists as a child of this node. Warning: this method is only made public to allow for unit testing. Other uses are discouraged.
 */
public void addChild(final JdbcNode node) throws JdbcException {
  final JdbcNode[] currentChildren=this.getChildren();
  final int currentNumChildren=currentChildren.length;
  if (currentNumChildren != 0) {
    final JdbcNode[] newChildren=new JdbcNode[currentNumChildren + 1];
    System.arraycopy(currentChildren,0,newChildren,0,currentNumChildren);
    newChildren[currentNumChildren]=node;
    children=newChildren;
  }
 else {
    children=new JdbcNode[]{node};
  }
  final InternalJdbcDatabase dbNode=(InternalJdbcDatabase)getJdbcDatabase();
  dbNode.getJdbcNodeCache().put(node);
}
Program: 102294
Project: 102294
Buggy source:
/** 
 * Set the name of the target view relational Model.
 * @param targetModelName the target view Model Name
 */
public void setViewModelName(String targetModelName){
  this.viewModelName=targetModelName;
}

Fixed version (ground truth):
/** 
 * Set the name of the target view relational Model.
 * @param targetModelName the target view Model Name
 */
public void setViewModelName(String targetModelName){
  this.viewModelName=targetModelName;
  setChanged(true);
}
Program: 102295
Project: 102295
Buggy source:
/** 
 * @param translatorDefaultServiceMode the translatorDefaultServiceMode to set
 */
public void setTranslatorDefaultServiceMode(String translatorDefaultServiceMode){
  this.translatorDefaultServiceMode=translatorDefaultServiceMode;
}

Fixed version (ground truth):
/** 
 * @param translatorDefaultServiceMode the translatorDefaultServiceMode to set
 */
public void setTranslatorDefaultServiceMode(String translatorDefaultServiceMode){
  this.translatorDefaultServiceMode=translatorDefaultServiceMode;
  setChanged(true);
}
Program: 102296
Project: 102296
Buggy source:
/** 
 * @param connectionProfile Sets connectionProfile to the specified value.
 */
public void setConnectionProfile(IConnectionProfile connectionProfile){
  this.connectionProfile=connectionProfile;
}

Fixed version (ground truth):
/** 
 * @param connectionProfile Sets connectionProfile to the specified value.
 */
public void setConnectionProfile(IConnectionProfile connectionProfile){
  this.connectionProfile=connectionProfile;
  setChanged(true);
}
Program: 102297
Project: 102297
Buggy source:
/** 
 * @param sourceModelName (never <code>null</code> or empty).
 */
public void setSourceModelName(String sourceModelName){
  this.sourceModelName=sourceModelName;
}

Fixed version (ground truth):
/** 
 * @param sourceModelName (never <code>null</code> or empty).
 */
public void setSourceModelName(String sourceModelName){
  this.sourceModelName=sourceModelName;
  setChanged(true);
}
Program: 102299
Project: 102299
Buggy source:
public void setGenerateDefaultProcedures(boolean generateDefaultProcedures){
  this.generateDefaultProcedures=generateDefaultProcedures;
}

Fixed version (ground truth):
public void setGenerateDefaultProcedures(boolean generateDefaultProcedures){
  this.generateDefaultProcedures=generateDefaultProcedures;
  setChanged(true);
}
Program: 102300
Project: 102300
Buggy source:
/** 
 * Set the WSDL File URI String
 * @param fileUri the specified file uri
 */
public void setWSDLFileUri(String fileUri){
  if (this.wsdlReader.getWSDLUri() == null) {
    this.wsdlReader.setWSDLUri(fileUri);
  }
 else   if (!(this.wsdlReader.getWSDLUri().equals(fileUri))) {
    this.wsdlReader.setWSDLUri(fileUri);
    this.wsdlModel=null;
  }
}

Fixed version (ground truth):
/** 
 * Set the WSDL File URI String
 * @param fileUri the specified file uri
 */
public void setWSDLFileUri(String fileUri){
  if (this.wsdlReader.getWSDLUri() == null) {
    this.wsdlReader.setWSDLUri(fileUri);
  }
 else   if (!(this.wsdlReader.getWSDLUri().equals(fileUri))) {
    this.wsdlReader.setWSDLUri(fileUri);
    this.wsdlModel=null;
  }
  setChanged(true);
}
Program: 102301
Project: 102301
Buggy source:
/** 
 * Set the location where the target Model is to be generated.
 * @param viewModelLocation the target Model location
 */
public void setViewModelLocation(IContainer viewModelLocation){
  this.viewModelLocation=viewModelLocation;
}

Fixed version (ground truth):
/** 
 * Set the location where the target Model is to be generated.
 * @param viewModelLocation the target Model location
 */
public void setViewModelLocation(IContainer viewModelLocation){
  this.viewModelLocation=viewModelLocation;
  setChanged(true);
}
Program: 102302
Project: 102302
Buggy source:
public void setSourceModelExists(boolean sourceModelExists){
  this.sourceModelExists=sourceModelExists;
}

Fixed version (ground truth):
public void setSourceModelExists(boolean sourceModelExists){
  this.sourceModelExists=sourceModelExists;
  setChanged(true);
}
Program: 102303
Project: 102303
Buggy source:
/** 
 * Set the source of the WSDL URI
 * @param uriSource Integer indicating the source of the WSDL URI
 */
public void setUriSource(int uriSource){
  this.uriSource=uriSource;
}

Fixed version (ground truth):
/** 
 * Set the source of the WSDL URI
 * @param uriSource Integer indicating the source of the WSDL URI
 */
public void setUriSource(int uriSource){
  this.uriSource=uriSource;
  setChanged(true);
}
Program: 102304
Project: 102304
Buggy source:
public WSDLImportWizardManager(){
  this.wsdlReader=new WSDLReader();
  this.selectedOperations=new ArrayList();
  this.procedureGenerators=new HashMap<Operation,ProcedureGenerator>();
}

Fixed version (ground truth):
public WSDLImportWizardManager(){
  this.wsdlReader=new WSDLReader();
  this.selectedOperations=new ArrayList();
  this.procedureGenerators=new HashMap<Operation,ProcedureGenerator>();
  this.listeners=new ArrayList<IChangeListener>(5);
  this.validator=new ImportManagerValidator(this);
  setChanged(true);
}
Program: 102305
Project: 102305
Buggy source:
/** 
 * @return location the target location where the view model either exists or is going to be created
 */
public void setSourceModelLocation(IContainer location){
  this.sourceModelLocation=location;
}

Fixed version (ground truth):
/** 
 * @return location the target location where the view model either exists or is going to be created
 */
public void setSourceModelLocation(IContainer location){
  this.sourceModelLocation=location;
  setChanged(true);
}
Program: 102306
Project: 102306
Buggy source:
/** 
 * @param translatorDefaultBinding the translatorDefaultBinding to set
 */
public void setTranslatorDefaultBinding(String translatorDefaultBinding){
  this.translatorDefaultBinding=translatorDefaultBinding;
}

Fixed version (ground truth):
/** 
 * @param translatorDefaultBinding the translatorDefaultBinding to set
 */
public void setTranslatorDefaultBinding(String translatorDefaultBinding){
  this.translatorDefaultBinding=translatorDefaultBinding;
  setChanged(true);
}
Program: 102307
Project: 102307
Buggy source:
public IStatus validate(){
  IStatus returnStatus=Status.OK_STATUS;
  if (this.procedureGenerators.isEmpty()) {
    return new Status(IStatus.WARNING,ProcedureGenerator.PLUGIN_ID,Messages.Error_NoOperationsSelected);
  }
  for (  ProcedureGenerator generator : this.procedureGenerators.values()) {
    IStatus status=generator.validate();
    if (status.getSeverity() > IStatus.WARNING) {
      return status;
    }
 else     if (status.getSeverity() == IStatus.WARNING && returnStatus.getSeverity() == IStatus.OK) {
      returnStatus=status;
    }
  }
  return returnStatus;
}

Fixed version (ground truth):
public void validate(){
  if (isChanged()) {
    this.validator.validate();
  }
  setChanged(false);
}
Program: 102308
Project: 102308
Buggy source:
/** 
 * Set the endpoint for the selected port
 * @param endPoint
 */
public void setEndPoint(String endPoint){
  this.endPoint=endPoint;
}

Fixed version (ground truth):
/** 
 * Set the endpoint for the selected port
 * @param endPoint
 */
public void setEndPoint(String endPoint){
  this.endPoint=endPoint;
  setChanged(true);
}
Program: 102309
Project: 102309
Buggy source:
/** 
 * Set the selected operations to process
 * @param operations the list of operations
 */
public void setSelectedOperations(List<Operation> operations){
  this.selectedOperations=operations;
  synchronizeProcedureGenerators();
}

Fixed version (ground truth):
/** 
 * Set the selected operations to process
 * @param operations the list of operations
 */
public void setSelectedOperations(List<Operation> operations){
  this.selectedOperations=operations;
  synchronizeProcedureGenerators();
  setChanged(true);
}
Program: 102311
Project: 102311
Buggy source:
public String createResponseColumn(int responseType){
  if (responseType == ProcedureInfo.TYPE_BODY) {
    return this.responseBodySchemaContentsGroup.createResponseColumn();
  }
 else {
    return this.responseHeaderSchemaContentsGroup.createResponseColumn();
  }
}

Fixed version (ground truth):
public String createResponseColumn(int responseType){
  if (responseType == ProcedureInfo.TYPE_BODY) {
    return this.responseBodySchemaContentsGroup.createResponseColumn();
  }
  return this.responseHeaderSchemaContentsGroup.createResponseColumn();
}
Program: 102312
Project: 102312
Buggy source:
/** 
 * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
 * @since 4.2
 */
public void createControl(Composite theParent){
  Composite pnlMain=WidgetFactory.createPanel(theParent,SWT.NONE,GridData.FILL_BOTH);
  GridLayout layout=new GridLayout(2,false);
  pnlMain.setLayout(layout);
  setControl(pnlMain);
  createOperationsSelectionPanel(pnlMain);
  createTabbedDetailsPanel(pnlMain);
  restoreState();
}

Fixed version (ground truth):
/** 
 * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
 * @since 4.2
 */
public void createControl(Composite theParent){
  Composite pnlMain=WidgetFactory.createPanel(theParent,SWT.NONE,GridData.FILL_BOTH);
  GridLayout layout=new GridLayout(2,false);
  pnlMain.setLayout(layout);
  setControl(pnlMain);
  createOperationsSelectionPanel(pnlMain);
  createTabbedDetailsPanel(pnlMain);
}
Program: 102313
Project: 102313
Buggy source:
public String createRequestColumn(int requestType){
  if (requestType == ProcedureInfo.TYPE_BODY) {
    return this.requestBodySchemaContentsGroup.createRequestColumn();
  }
 else {
    return this.requestHeaderSchemaContentsGroup.createRequestColumn();
  }
}

Fixed version (ground truth):
public String createRequestColumn(int requestType){
  if (requestType == ProcedureInfo.TYPE_BODY) {
    return this.requestBodySchemaContentsGroup.createRequestColumn();
  }
  return this.requestHeaderSchemaContentsGroup.createRequestColumn();
}
Program: 102314
Project: 102314
Buggy source:
/** 
 * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
 */
public void createControl(Composite theParent){
  this.profileWorker=new ConnectionProfileWorker(this.getShell(),ConnectionProfileWorker.CATEGORY_WS,this);
  final int COLUMNS=1;
  Composite pnlMain=WidgetFactory.createPanel(theParent,SWT.NONE,GridData.FILL_BOTH);
  GridLayout layout=new GridLayout(COLUMNS,false);
  pnlMain.setLayout(layout);
  setControl(pnlMain);
  IWorkbenchHelpSystem helpSystem=UiUtil.getWorkbench().getHelpSystem();
  helpSystem.setHelp(pnlMain,WSDL_SELECTION_PAGE);
  createSourceSelectionComposite(pnlMain);
  createWsdlOperationsPanel(pnlMain);
  setPageStatus();
  restoreState();
}

Fixed version (ground truth):
/** 
 * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
 */
public void createControl(Composite theParent){
  this.profileWorker=new ConnectionProfileWorker(this.getShell(),ConnectionProfileWorker.CATEGORY_WS,this);
  final int COLUMNS=1;
  Composite pnlMain=WidgetFactory.createPanel(theParent,SWT.NONE,GridData.FILL_BOTH);
  GridLayout layout=new GridLayout(COLUMNS,false);
  pnlMain.setLayout(layout);
  setControl(pnlMain);
  IWorkbenchHelpSystem helpSystem=UiUtil.getWorkbench().getHelpSystem();
  helpSystem.setHelp(pnlMain,WSDL_SELECTION_PAGE);
  createSourceSelectionComposite(pnlMain);
  createWsdlOperationsPanel(pnlMain);
  setPageStatus();
}
Program: 102315
Project: 102315
Buggy source:
/** 
 * @see com.metamatrix.ui.internal.widget.ITreeViewerController#itemExpanded(org.eclipse.jface.viewers.TreeExpansionEvent)
 * @since 4.0
 */
@Override public void itemExpanded(final TreeExpansionEvent event){
  if (treeExpanded) {
    super.itemExpanded(event);
  }
 else {
    final TreeItem item=((TreeViewer)event.getTreeViewer()).getTree().getSelection()[0];
    if (item.getData() != null) {
      updateChildren(item,false);
    }
    treeExpanded=true;
  }
  updateTreeSelectionDetails();
}

Fixed version (ground truth):
/** 
 * @see com.metamatrix.ui.internal.widget.ITreeViewerController#itemExpanded(org.eclipse.jface.viewers.TreeExpansionEvent)
 * @since 4.0
 */
@Override public void itemExpanded(final TreeExpansionEvent event){
  if (treeExpanded) {
    super.itemExpanded(event);
  }
 else {
    if (((TreeViewer)event.getTreeViewer()).getTree().getSelection().length > 0) {
      final TreeItem item=((TreeViewer)event.getTreeViewer()).getTree().getSelection()[0];
      if (item.getData() != null) {
        updateChildren(item,false);
      }
      treeExpanded=true;
    }
  }
  updateTreeSelectionDetails();
}
Program: 102318
Project: 102318
Buggy source:
public String getParamaterFullName(String name){
  StringBuilder builder=new StringBuilder();
  builder.append(this.getViewModelName());
  builder.append('.').append(this.operation.getName()).append('.').append(name);
  return builder.toString();
}

Fixed version (ground truth):
public String getParamaterFullName(String name){
  StringBuilder builder=new StringBuilder();
  builder.append(this.getViewModelName());
  builder.append('.').append(getWrappedProcedureName()).append('.').append(name);
  return builder.toString();
}
Program: 102319
Project: 102319
Buggy source:
private void handleWrapperProcedureNameChanged(){
  this.detailsPage.getProcedureGenerator().setWrapperProcedureName(this.wrapperProcedureText.getText());
  validate();
}

Fixed version (ground truth):
private void handleWrapperProcedureNameChanged(){
  this.detailsPage.getProcedureGenerator().setWrapperProcedureName(this.wrapperProcedureText.getText());
  this.sqlTextViewer.getDocument().set(detailsPage.getProcedureGenerator().getWrapperSqlString());
  validate();
}
Program: 102320
Project: 102320
Buggy source:
/** 
 * @throws JdbcException
 * @since 5.0
 */
public void setUpdatedModelSettings() throws JdbcException {
  if (this.db == null) {
    return;
  }
  final JdbcImportSettings settings=this.src.getImportSettings();
  if (settings != null) {
    for (final Iterator objIter=settings.getExcludedObjectPaths().iterator(); objIter.hasNext(); ) {
      final IPath path=new Path((String)objIter.next());
      final JdbcNode node=findNode(path,this.db);
      if (node != null) {
        node.setSelected(false);
      }
    }
    final Includes includes=this.db.getIncludes();
    final List types=settings.getIncludedTableTypes();
    includes.setIncludedTableTypes((String[])types.toArray(new String[types.size()]));
    includes.setApproximateIndexes(settings.isIncludeApproximateIndexes());
    includes.setIncludeForeignKeys(settings.isIncludeForeignKeys());
    includes.setIncludeIndexes(settings.isIncludeIndexes());
    includes.setIncludeProcedures(settings.isIncludeProcedures());
    includes.setUniqueIndexesOnly(settings.isIncludeUniqueIndexes());
  }
}

Fixed version (ground truth):
/** 
 * @throws JdbcException
 * @since 5.0
 */
public void setUpdatedModelSettings() throws JdbcException {
  if (this.db == null) {
    return;
  }
  JdbcImportSettings settings=null;
  if (this.updateSrc != null) {
    settings=this.updateSrc.getImportSettings();
  }
 else   if (this.src != null) {
    settings=this.src.getImportSettings();
  }
  if (settings != null) {
    for (final Iterator objIter=settings.getExcludedObjectPaths().iterator(); objIter.hasNext(); ) {
      final IPath path=new Path((String)objIter.next());
      final JdbcNode node=findNode(path,this.db);
      if (node != null) {
        node.setSelected(false);
      }
    }
    final Includes includes=this.db.getIncludes();
    final List types=settings.getIncludedTableTypes();
    includes.setIncludedTableTypes((String[])types.toArray(new String[types.size()]));
    includes.setApproximateIndexes(settings.isIncludeApproximateIndexes());
    includes.setIncludeForeignKeys(settings.isIncludeForeignKeys());
    includes.setIncludeIndexes(settings.isIncludeIndexes());
    includes.setIncludeProcedures(settings.isIncludeProcedures());
    includes.setUniqueIndexesOnly(settings.isIncludeUniqueIndexes());
  }
}
Program: 102321
Project: 102321
Buggy source:
/** 
 * @since 4.0
 */
public void setUpdatedModel(final ModelResource model) throws ModelWorkspaceException {
  this.updatedModel=null;
  if (model != null) {
    for (final Iterator modelIter=model.getAllRootEObjects().iterator(); modelIter.hasNext(); ) {
      final Object obj=modelIter.next();
      if (obj instanceof JdbcSource) {
        this.updatedModel=model;
        try {
          this.src=(JdbcSource)ModelerCore.getModelEditor().copy((JdbcSource)obj);
          setUpdatedModelSettings();
          break;
        }
 catch (        final Exception err) {
          throw new ModelWorkspaceException(err);
        }
      }
    }
  }
}

Fixed version (ground truth):
/** 
 * @since 4.0
 */
public void setUpdatedModel(final ModelResource model) throws ModelWorkspaceException {
  this.updatedModel=null;
  this.updateSrc=null;
  if (model != null) {
    for (final Iterator modelIter=model.getAllRootEObjects().iterator(); modelIter.hasNext(); ) {
      final Object obj=modelIter.next();
      if (obj instanceof JdbcSource) {
        this.updatedModel=model;
        try {
          this.updateSrc=(JdbcSource)ModelerCore.getModelEditor().copy((JdbcSource)obj);
          setUpdatedModelSettings();
          break;
        }
 catch (        final Exception err) {
          throw new ModelWorkspaceException(err);
        }
      }
    }
  }
 else {
    try {
      setUpdatedModelSettings();
    }
 catch (    final Exception err) {
      throw new ModelWorkspaceException(err);
    }
  }
}
Program: 102322
Project: 102322
Buggy source:
/** 
 * @since 4.0
 */
public IStatus importModel(final IProgressMonitor monitor) throws ModelWorkspaceException {
  final RelationalModelProcessor processor=JdbcModelProcessorManager.createRelationalModelProcessor(this.src);
  final IStatus status=processor.execute(this.updatedModel,this.db,this.src.getImportSettings(),monitor);
  return status;
}

Fixed version (ground truth):
/** 
 * @since 4.0
 */
public IStatus importModel(final IProgressMonitor monitor) throws ModelWorkspaceException {
  final RelationalModelProcessor processor=JdbcModelProcessorManager.createRelationalModelProcessor();
  final IStatus status=processor.execute(this.updatedModel,this.db,this.updateSrc.getImportSettings(),monitor);
  return status;
}
Program: 102323
Project: 102323
Buggy source:
/** 
 * Create a new   {@link RelationalModelProcessor Relational model processor} that can transform{@link com.metamatrix.modeler.jdbc.metadata.JdbcDatabase JDBC metadata} into a{@link com.metamatrix.metamodels.relational.RelationalPackage Relational} model.<p>
 * @param source
 * @param processorType
 * @return the new model processor
 */
public static RelationalModelProcessor createRelationalModelProcessor(final JdbcSource source,final String processorType){
  return createRelationalModelProcessor(source,RelationalTypeMappingImpl.getInstance(),processorType);
}

Fixed version (ground truth):
/** 
 * Create a new   {@link RelationalModelProcessor Relational model processor} that can transform{@link com.metamatrix.modeler.jdbc.metadata.JdbcDatabase JDBC metadata} into a{@link com.metamatrix.metamodels.relational.RelationalPackage Relational} model.<p>
 * @param source
 * @param processorType
 * @return the new model processor
 */
public static RelationalModelProcessor createRelationalModelProcessor(final String processorType){
  return createRelationalModelProcessor(RelationalTypeMappingImpl.getInstance(),processorType);
}