Examples of NamedElement


Examples of com.arjuna.webservices.stax.NamedElement

        AddressingContext.setContext(messageContext, addressingContext) ;

        final SoapRegistry soapRegistry = SoapRegistry.getRegistry() ;
       
        final String scheme = soapRegistry.getScheme(toURL) ;
        final NamedElement contents = new NamedElement(bodyName, request) ;
        final SoapBody soapBody = new SoapBody(contents, actionValue) ;
        final SoapBodyMessage soapBodyMessage = new SoapBodyMessage(soapBody, null, soapService, messageContext) ;
       
        final SoapClient client = soapRegistry.getSoapClient(scheme) ;
        client.invokeOneWay(soapBodyMessage, toURL) ;
View Full Code Here

Examples of com.arjuna.webservices.stax.NamedElement

     * @param endpointReference The endpoint reference.
     * @param instanceIdentifier The identifier.
     */
    public static void setEndpointInstanceIdentifier(final EndpointReferenceType endpointReference, final InstanceIdentifier instanceIdentifier)
    {
        endpointReference.addReferenceParameter(new NamedElement(ArjunaConstants.WSARJ_ELEMENT_INSTANCE_IDENTIFIER_QNAME, instanceIdentifier)) ;
    }
View Full Code Here

Examples of com.arjuna.webservices.stax.NamedElement

        }
       
        // detail if present
        if (QNAME_DETAIL.equals(streamReader.getName()))
        {
            soapFault.setDetailElement(new NamedElement(null, new AnyElement(streamReader))) ;
            if (StreamHelper.checkParentFinished(streamReader))
            {
                return soapFault ;
            }
        }
View Full Code Here

Examples of eu.admire.dispel.commons.NamedElement

              .getNext();

         
          if (ref2.getTarget() instanceof NamedElement) {

            NamedElement el = (NamedElement) ref2.getTarget();

            String name = el.getName();

            LocalVariable var = (LocalVariable) ref.getTarget();

            if (var.getValue() instanceof ProcessingElementInstance) {

              ProcessingElementInstance inst = (ProcessingElementInstance) var
                  .getValue();

              if (inst != null) {

                for (ProcessingElementParameter pp : inst
                    .getProcessingElementParameters()) {

                  if (pp.getName().equals(name)
                      && pp instanceof Output) {

                    ref2.setTarget(pp);
                  }
                }
              }
            }
          }
        }
      }
         
     
   
      if (exp.getValue() instanceof IdentifierReference) {

        IdentifierReference ref = (IdentifierReference) exp.getValue();

        if (ref.getNext() instanceof IdentifierReference) {

          IdentifierReference ref2 = (IdentifierReference) ref
              .getNext();
         
          if (ref2.getTarget() instanceof NamedElement) {

            NamedElement el = (NamedElement) ref2.getTarget();

            String name = el.getName();

            LocalVariable var = (LocalVariable) ref.getTarget();

            if (var.getValue() instanceof ProcessingElementInstance) {
View Full Code Here

Examples of fr.tm.elibel.smartqvt.qvt.emof.NamedElement

            text += inherit;
        } else if (element instanceof TypedElement) {
          text = QVTEditorUtilities
              .stringOfTypedElement((TypedElement) element);
        } else if (element instanceof NamedElement) {
          NamedElement namedElem = (NamedElement) element;
          text = namedElem.getName();
        }
      } catch (Exception e) {
        UiPlugin.getDefault().getLogger().log(
            java.util.logging.Level.WARNING, "Unknown error", e);
      }
View Full Code Here

Examples of fr.tm.elibel.smartqvt.qvt.emof.NamedElement

        pattern = QVTEditorUtilities.patternOfOperation(op);
        description = QVTEditorUtilities.stringOfContext(op);
      } else

      if (obj instanceof NamedElement) {
        NamedElement elem = (NamedElement) obj;
        image_id = UiPlugin.getImage(UiPlugin.IMAGE_COMPLETION);
        pattern = elem.getName();
        name = elem.getName();
        if (elem instanceof Type) {
          Type t = (Type) elem;
          image_id = UiPlugin.getImage(UiPlugin.IMAGE_TYPE);
          if ((t.eContainer() != null)
              && (t.eContainer() instanceof NamedElement))
View Full Code Here

Examples of org.applause.lang.applauseDsl.NamedElement

 
  public void isValidEntity(final CharSequence sequence) {
    try {
      final Model model = this._parseHelper.parse(sequence);
      EList<NamedElement> _elements = model.getElements();
      NamedElement _head = IterableExtensions.<NamedElement>head(_elements);
      final Entity entity = ((Entity) _head);
      String _name = entity.getName();
      Assert.assertNotNull(_name);
    } catch (Throwable _e) {
      throw Exceptions.sneakyThrow(_e);
View Full Code Here

Examples of org.eclipse.uml2.NamedElement

                {
                    public boolean evaluate(final Object object)
                    {
                        if (object instanceof NamedElement)
                        {
                            NamedElement element = (NamedElement)object;
                            StringBuffer fullName = new StringBuffer(getPackageName(
                                        element,
                                        separator,
                                        modelName));
                            String name = element.getName();
                            if (StringUtils.isNotBlank(name))
                            {
                                String namespaceSeparator = MetafacadeConstants.NAMESPACE_SCOPE_OPERATOR;
                                if (!modelName)
                                {
View Full Code Here

Examples of org.eclipse.uml2.NamedElement

     */
    protected java.lang.String handleGetVisibility()
    {
        if (this.metaObject instanceof NamedElement)
        {
            final NamedElement element = (NamedElement)this.metaObject;
            final VisibilityKind kind = element.getVisibility();
            String visibility = null;
            if (kind.equals(VisibilityKind.PACKAGE_LITERAL))
            {
                visibility = "package";
            }
View Full Code Here

Examples of org.eclipse.uml2.NamedElement

    {
        // In UML2, model elements need not have a name,
        // only when they are an instance of NamedElement.
        if (this.metaObject instanceof NamedElement)
        {
            NamedElement namedElement = (NamedElement) this.metaObject;
            return namedElement.getName();

        }
        return "";
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.