/** @generated */
 private String getPersistentTable_2009Text(View view) {
   IParser parser =
       DatamodelerParserProvider.getParser(
           DatamodelerElementTypes.PersistentTable_2009,
           view.getElement() != null ? view.getElement() : view,
           DatamodelerVisualIDRegistry.getType(PersistentTableNameEditPart.VISUAL_ID));
   if (parser != null) {
     return parser.getPrintString(
         new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
         ParserOptions.NONE.intValue());
   } else {
     DatamodelerDiagramEditorPlugin.getInstance()
         .logError("Parser was not found for label " + 5004); // $NON-NLS-1$
     return ""; //$NON-NLS-1$
   }
 }
 /** @generated */
 private String getForeignKey_4001Text(View view) {
   IParser parser =
       DatamodelerParserProvider.getParser(
           DatamodelerElementTypes.ForeignKey_4001,
           view.getElement() != null ? view.getElement() : view,
           DatamodelerVisualIDRegistry.getType(RelationshipForeignKeyEditPart.VISUAL_ID));
   if (parser != null) {
     return parser.getPrintString(
         new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
         ParserOptions.NONE.intValue());
   } else {
     DatamodelerDiagramEditorPlugin.getInstance()
         .logError("Parser was not found for label " + 6001); // $NON-NLS-1$
     return ""; //$NON-NLS-1$
   }
 }
 /** @generated */
 public String getText(View view) {
   if (view.getElement() != null && view.getElement().eIsProxy()) {
     return getUnresolvedDomainElementProxyText(view);
   }
   switch (DatamodelerVisualIDRegistry.getVisualID(view)) {
     case UniqueConstraintEditPart.VISUAL_ID:
       return getUniqueConstraint_3002Text(view);
     case ForeignKey2EditPart.VISUAL_ID:
       return getForeignKey_3003Text(view);
     case ColumnEditPart.VISUAL_ID:
       return getColumn_3001Text(view);
     case ForeignKey3EditPart.VISUAL_ID:
       return getForeignKey_4002Text(view);
     case SchemaEditPart.VISUAL_ID:
       return getSchema_1000Text(view);
     case PersistentTableEditPart.VISUAL_ID:
       return getPersistentTable_2009Text(view);
     case ForeignKeyEditPart.VISUAL_ID:
       return getForeignKey_4001Text(view);
   }
   return getUnknownElementText(view);
 }
 /** @generated */
 private boolean isOwnView(View view) {
   return SchemaEditPart.MODEL_ID.equals(DatamodelerVisualIDRegistry.getModelID(view));
 }