Examples of Name


Examples of IRTree2.NAME

    targets = t;
  }

  public JUMP(Label target)
  {
    this(new NAME(target), new LabelList(target, null));
  }
View Full Code Here

Examples of anvil.script.Name

        FunctionStatement function = getFunctionStatement();
        if (function.getType() == Type.CONSTRUCTOR) {
          BlockStatement block = function.getBlockStatement();
          if (parent == function && block.isEmpty()) {
            _expression = new Expression(new LinkNode(this, location,
              new Name().add(Name.SUPER, "super"), parameters, LinkNode.SUPER), location);

          } else {
            parser.error(location, "Superclass constructor invoke must appear as a first statement (characters between tags are considered statements)");
          }
        } else {
          parser.error(location, "Superclass constructor invoke may only appear in constructor");
        }
       
      } else {
        // super.method(params, ...)
        _expression = new Expression(new LinkNode(this, location,
            new Name().add(Name.SUPER, "super").add(method), parameters, LinkNode.GET), location);
           
      }
     
    } else {
      if (method == null) {
        parser.error(location, "Attribute 'method' not given");
        return;
      }
     
      if (from == null) {
        // method(params, ...)
        _expression = new Expression(new LinkNode(this, location,
            new Name().add(method), parameters, LinkNode.GET), location);
           
      } else {
        // expr.method(params, ...)
        Expression self = Grammar.parseExpression(from, location, parser);
        _expression = new Expression(new InvokeNode(self, method, parameters), location);
View Full Code Here

Examples of at.compax.bbsng.dataimport.app.source.person.Name

    final String email = firstName + "." + lastName + "@compax.at";
    obj.setEmail(email);
  }

  private void setName(final Apprentice obj) {
    final Name name = nameExample.getRandomName();
    setFirstName(obj, name.getFirstName());
    setLastName(obj, name.getLastName());
  }
View Full Code Here

Examples of br.gov.frameworkdemoiselle.annotation.Name

    JMXConfig configuration = Beans.getReference(JMXConfig.class);

    for (ManagedType type : managedTypes) {
      DynamicMBeanProxy beanProxy = new DynamicMBeanProxy(type);
     
      Name nameAnnotation = type.getType().getAnnotation(Name.class);
      String mbeanName = nameAnnotation != null ? nameAnnotation.value() : type.getType().getSimpleName();

      StringBuffer name = new StringBuffer()
        .append( configuration.getMbeanDomain()!=null ? configuration.getMbeanDomain() : type.getType().getPackage().getName() )
        .append(":name=")
        .append( mbeanName );
View Full Code Here

Examples of codec.x501.Name

  }
  i_ = i;

  try {
      if (subject != null) {
    dn_ = new Name(subject.getName(), -1);
      }
  } catch (BadNameException e) {
      throw new IllegalArgumentException(e.getMessage());
  }
    }
View Full Code Here

Examples of com.acme.order.model.field.Name

        // Bind the EDI message stream data into the EJC generated Order model...
        Order order = orderFactory.fromEDI(ediStream);

        // Print some of the populated Order object...
        Header header = order.getHeader();
        Name name = header.getCustomerDetails().getName();
        List<OrderItem> orderItems = order.getOrderItems().getOrderItem();
        OrderItem orderItem1 = orderItems.get(0);
        OrderItem orderItem2 = orderItems.get(1);

        System.out.println();
        System.out.println("Input EDI Message:");
        System.out.println(ediMessage);

        System.out.println();
        System.out.println("Populated EJC Generated Model:");
        System.out.println("\tName:       " + name.getLastname() + ", " + name.getFirstname());
        System.out.println("\tEmail:      " + header.getCustomerDetails().getEmail());
        System.out.println("\tDate:       " + header.getDate());
        System.out.println("\tProduct 1:  " + orderItem1.getProductId() + ", " + orderItem1.getTitle() + ", " + orderItem1.getPrice());
        System.out.println("\tProduct 2:  " + orderItem2.getProductId() + ", " + orderItem2.getTitle() + ", " + orderItem2.getPrice());
        System.out.println();
View Full Code Here

Examples of com.almende.eve.agent.annotation.Name

   * @param param
   * @return name
   */
  private static String getName(AnnotatedParam param) {
    String name = null;
    Name nameAnnotation = param.getAnnotation(Name.class);
    if (nameAnnotation != null) {
      name = nameAnnotation.value();
    }
    return name;
  }
View Full Code Here

Examples of com.almende.eve.rpc.annotation.Name

   *            the param
   * @return name
   */
  private static String getName(final AnnotatedParam param) {
    String name = null;
    final Name nameAnnotation = param.getAnnotation(Name.class);
    if (nameAnnotation != null) {
      name = nameAnnotation.value();
    }
    return name;
  }
View Full Code Here

Examples of com.almende.eve.transform.rpc.annotation.Name

   *            the param
   * @return name
   */
  private static String getName(final AnnotatedParam param) {
    String name = null;
    final Name nameAnnotation = param.getAnnotation(Name.class);
    if (nameAnnotation != null) {
      name = nameAnnotation.value();
    }
    return name;
  }
View Full Code Here

Examples of com.any_erp_vendor.moa.objects.resources.v1_0.Name

        if (returnedJeos.size() == 0) {
          // create the BasicPerson using default values from uPortal (givenName, sn)
          LogService.log(LogService.INFO, "[basicPersonQueryHandler] BasicPerson doesn't exist, creating it.");
          BasicPerson bp = (BasicPerson)getAppConfig().getObject(messageObjectName);
          bp.setInstitutionalId(instId);
          Name name = bp.newName();
          name.setFirstName(firstName);
          name.setLastName(lastName);
          bp.setName(name);
          bp.create((PointToPointProducer)getAppConfig().getObject(producerName));
          LogService.log(LogService.INFO, "[basicPersonQueryHandler] BasicPerson was created.");
          xml += bp.getXmlEnterpriseObject().toXmlString();
        }
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.