Examples of type()


Examples of javax.xml.ws.WebServiceRef.type()

      }
      else
      {
         final WebServiceRef serviceRefAnnotation = this.getWebServiceRefAnnotation(anElement, serviceRefUMDM);
         Class<?> targetClass = null;
         if (serviceRefAnnotation != null && (serviceRefAnnotation.type() != Object.class))
         {
            targetClass = serviceRefAnnotation.type();
            serviceRefUMDM.setServiceRefType(targetClass.getName());

            if (Service.class.isAssignableFrom(targetClass))
View Full Code Here

Examples of ma.glasnost.orika.impl.generator.VariableRef.type()

       
        Type<?> destType = currentNode.parent != null ? currentNode.parent.elementRef.type() : null;
       
        out.append(statement(code.mapFields(currentNode.value, s, d, destType, null)));
       
        return d.type().equals(currentNode.parent.elementRef.type()) && mapperFactory.getConverterFactory().canConvert(s.type(), d.type());
    }
   
   
    /**
     * Register the ClassMaps needed to map this pair of source and
View Full Code Here

Examples of mfinder.annotation.Result.type()

                    if (rr != null)
                        res = rr;

                    result = rp.getResult();
                    //当Result的type值不为空时,执行相应的ResultType
                    if (StringUtil.isNotNull(result.type())) {
                        rr = invokeByResult(invocation, result);
                        if (rr != null)
                            res = rr;
                    }
                } else {
View Full Code Here

Examples of mfinder.annotation.ResultType.type()

            requireAction = true;
        } else {
            throw new IllegalArgumentException("Illegal arguments in ResultType : " + method);
        }

        return new ResultTypeProxy(type.type().trim(), method, obj, requireAction);
    }

    /**
     * 创建Result代理对象。
     *
 
View Full Code Here

Examples of net.imglib2.meta.TypedAxis.type()

    setDimensionOrder(this, pixels);
    int nPlanes = 1;
    for (int axisIdx=0; axisIdx<numDimensions(); axisIdx++) {
      TypedAxis a = axis(axisIdx);
      final PositiveInteger size = new PositiveInteger(size(axisIdx));
      if (a.type().equals(Axes.Z)) {
        pixels.setSizeZ(size);
      } else if (a.type().equals(Axes.CHANNEL)) {
        pixels.setSizeC(size);
      } else {
        // Both T and ObjectPlane go here
View Full Code Here

Examples of net.java.trueupdate.message.UpdateMessage.type()

                final long stop = System.currentTimeMillis()
                        + HANDSHAKE_TIMEOUT_MILLIS;
                synchronized (sessionManager) {
                    while (true) {
                        final UpdateMessage um = sessionManager.get(request);
                        final Type type = um.type();
                        checkCancelled(type);
                        if (PROCEED_REDEPLOYMENT_RESPONSE.equals(type))
                            break;
                        final long remaining = stop - System.currentTimeMillis();
                        if (0 >= remaining)
View Full Code Here

Examples of net.paoding.rose.jade.annotation.SQL.type()

    private SQLType sqlType;

    public SQLType getSQLType() {
        if (sqlType == null) {
            SQL sql = method.getAnnotation(SQL.class);
            SQLType sqlType = sql.type();
            if (sqlType == SQLType.AUTO_DETECT) {
                for (int i = 0; i < SELECT_PATTERNS.length; i++) {
                    // 用正则表达式匹配  SELECT 语句
                    if (SELECT_PATTERNS[i].matcher(getSQL()).find()) {
                        sqlType = SQLType.READ;
View Full Code Here

Examples of net.sf.jftp.gui.tasks.Creator.type()

            String t = c.getTypeNow();
            boolean ret = false;

            if(t.equals(FtpConnection.ASCII))
            {
                ret = c.type(FtpConnection.BINARY);
            }
            else if(t.equals(FtpConnection.BINARY))
            {
                ret = c.type(FtpConnection.EBCDIC);
            }
View Full Code Here

Examples of net.sf.jftp.net.FtpConnection.type()

            String t = c.getTypeNow();
            boolean ret = false;

            if(t.equals(FtpConnection.ASCII))
            {
                ret = c.type(FtpConnection.BINARY);
            }
            else if(t.equals(FtpConnection.BINARY))
            {
                ret = c.type(FtpConnection.EBCDIC);
            }
View Full Code Here

Examples of net.tomp2p.message.Message.type()

    // making the message ready to send
    PeerAddress recipient = message.recipient().changeAddress(socketAddress.inetAddress())
            .changePorts(socketAddress.tcpPort(), socketAddress.udpPort()).changeRelayed(false);
    rconMessage.recipient(recipient);
    rconMessage.command(RPC.Commands.RCON.getNr());
    rconMessage.type(Message.Type.REQUEST_1);
    return rconMessage;
  }

  /**
   * This method is extracted by @author jonaswagner to ensure that no
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.