コード例 #1
0
  /**
   *
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   *
   * @generated NOT
   */
  protected IterateMediatorImpl() {
    super();

    // Attach path.
    NamespacedProperty attachPath = EsbFactoryImpl.eINSTANCE.createNamespacedProperty();
    attachPath.setPrettyName("Attach Path");
    attachPath.setPropertyName("attachPath");
    attachPath.setPropertyValue("/default/expression");
    setAttachPath(attachPath);

    // Iterate expression.
    NamespacedProperty iterateExpression = EsbFactoryImpl.eINSTANCE.createNamespacedProperty();
    iterateExpression.setPrettyName("Iterate Expression");
    iterateExpression.setPropertyName("expression");
    iterateExpression.setPropertyValue(DEFAULT_EXPRESSION_PROPERTY_VALUE);
    setIterateExpression(iterateExpression);

    RegistryKeyProperty targetSequenceKey = EsbFactoryImpl.eINSTANCE.createRegistryKeyProperty();
    targetSequenceKey.setPrettyName("Sequence Reference");
    targetSequenceKey.setKeyName("key");
    targetSequenceKey.setKeyValue(DEFAULT_REGISTRY_KEY);
    setSequenceKey(targetSequenceKey);

    setTarget(EsbFactoryImpl.eINSTANCE.createIterateTarget());
  }
コード例 #2
0
  /**
   *
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   *
   * @generated NOT
   */
  @SuppressWarnings("unchecked")
  protected SendMediatorImpl() {
    super();
    // Static Receiving Sequence
    staticReceivingSequence = EsbFactoryImpl.eINSTANCE.createRegistryKeyProperty();
    DeveloperStudioProviderUtils.addFilter(
        (Map<String, List<String>>) staticReceivingSequence.getFilters(),
        CSProviderConstants.FILTER_MEDIA_TYPE,
        ESBMediaTypeConstants.MEDIA_TYPE_SEQUENCE);
    staticReceivingSequence.setPrettyName("Static");
    staticReceivingSequence.setKeyName("receive");
    staticReceivingSequence.setKeyValue(DEFAULT_SEQUENCE_REFERENCE_REGISTRY_KEY);
    setStaticReceivingSequence(staticReceivingSequence);

    // Dynamic Receiving Sequence
    dynamicReceivingSequence = EsbFactoryImpl.eINSTANCE.createNamespacedProperty();
    dynamicReceivingSequence.setPropertyName("receive");
    dynamicReceivingSequence.setPropertyValue(DEFAULT_XPATH_PROPERTY_VALUE);
    dynamicReceivingSequence.setPrettyName("Dynamic");
    setDynamicReceivingSequence(dynamicReceivingSequence);
  }