/**
   * Ensure that the prefix mapping exists for the given namespace in the BPEL source.
   *
   * @param the schema component for which to create a BPEL prefix mappings.
   */
  private boolean ensureXSDTypeNamespaceMappings(Object obj) {

    String targetNamespace = null;

    if (obj instanceof XSDNamedComponent) {
      XSDNamedComponent namedComponent = (XSDNamedComponent) obj;
      targetNamespace = namedComponent.getTargetNamespace();
    }

    if (targetNamespace == null) {
      return true;
    }

    // Now check if the target namespace has a prefix mappings.
    String prefix = BPELUtils.getNamespacePrefix(modelObject, targetNamespace);
    if (prefix != null) {
      return true;
    }

    // We have to map the namespace to a prefix.
    NamespaceMappingDialog dialog = new NamespaceMappingDialog(getShell(), modelObject);
    dialog.setNamespace(targetNamespace);

    if (dialog.open() == Window.CANCEL) {
      return false;
    }

    // define the prefix
    BPELUtils.setPrefix(BPELUtils.getProcess(modelObject), targetNamespace, dialog.getPrefix());

    return true;
  }
  public GetPropertyExecutor(Object parent, XSDNamedComponent content) {
    this.parent = parent;

    name = new QName(content.getTargetNamespace(), content.getName());
  }