Examples of param()


Examples of br.com.objectos.comuns.sitebricks.DefaultRequestWrapper.param()

  public Pojo() {
  }

  public Pojo(Request request) {
    DefaultRequestWrapper wrapper = new DefaultRequestWrapper(request);
    this.notNull = wrapper.param("notNull");

    Integer positive = wrapper.integerParam("positive");
    this.positive = positive != null ? positive.intValue() : 0;

    this.fail = wrapper.booleanParam("fail");
View Full Code Here

Examples of br.com.objectos.way.ui.DefaultRequestWrapper.param()

  public Pojo() {
  }

  public Pojo(Request request) {
    DefaultRequestWrapper wrapper = new DefaultRequestWrapper(request);
    this.notNull = wrapper.param("notNull");

    Integer positive = wrapper.integerParam("positive");
    this.positive = positive != null ? positive.intValue() : 0;

    this.fail = wrapper.booleanParam("fail");
View Full Code Here

Examples of br.com.objectos.way.ui.SearchString.param()

public class SearchStringTest {

  public void main_param() {
    SearchString s = new SearchString("abc");

    Param p = s.param();

    assertThat(p.toString(), equalTo("abc"));
  }

  public void main_param_trim() {
View Full Code Here

Examples of com.adaptrex.core.ext.data.DataConfig.param()

      }

      if (param != null) {
        for (String p : param.split(",")) {
          String[] parts = p.split(":");
          config.param(parts[0], parts[1]);
        }
      }

      if (start != null) {
        config.setStart(Integer.valueOf(start));
View Full Code Here

Examples of com.adaptrex.core.ext.data.Store.param()

          if (where != null) store.where(where);
         
          if (param != null) {
            for (String p : param.split(",")) {
                String[] parts = p.split(":");
                store.param(parts[0],parts[1]);
              }
          }
         
          if (start != null) store.start(Integer.valueOf(start));
        }
View Full Code Here

Examples of com.asakusafw.utils.java.model.util.JavadocBuilder.param()

        List<FormalParameterDeclaration> parameters = Lists.create();
        List<Expression> arguments = Lists.create();
        List<Expression> inputMetaData = Lists.create();
        for (OperatorPortDeclaration var : flowClass.getInputPorts()) {
            SimpleName name = factory.newSimpleName(var.getName());
            javadoc.param(name).inline(var.getDocumentation());
            parameters.add(util.toFactoryMethodInput(var, name));
            inputMetaData.add(util.toMetaData(var, arguments.size()));
            arguments.add(name);
        }
        List<Expression> outputMetaData = Lists.create();
View Full Code Here

Examples of com.asakusafw.utils.java.model.util.JavadocBuilder.param()

            outputMetaData.add(util.toMetaData(var, -1));
        }
        List<Expression> parameterMetaData = Lists.create();
        for (OperatorPortDeclaration var : flowClass.getParameters()) {
            SimpleName name = factory.newSimpleName(var.getName());
            javadoc.param(name).inline(var.getDocumentation());
            parameters.add(factory.newFormalParameterDeclaration(
                    util.t(var.getType().getRepresentation()),
                    name));
            parameterMetaData.add(util.toMetaData(var, arguments.size()));
            arguments.add(name);
View Full Code Here

Examples of com.asakusafw.utils.java.model.util.JavadocBuilder.param()

            .text("インスタンスを生成する。");
        List<FormalParameterDeclaration> parameters = Lists.create();
        List<Statement> statements = Lists.create();
        for (ResourceFragment resource : fragment.getResources()) {
            SimpleName param = getResource(resource.getDescription());
            javadoc.param(param)
                .text(resource.getDescription().toString());
            parameters.add(factory.newFormalParameterDeclaration(
                    importer.toType(resource.getCompiled().getQualifiedName()),
                    param));
            statements.add(new ExpressionBuilder(factory, factory.newThis())
View Full Code Here

Examples of com.asakusafw.utils.java.model.util.JavadocBuilder.param()

                .toStatement());
        }
        for (FlowElementOutput output : fragment.getOutputPorts()) {
            SimpleName chain = successors.get(output);
            assert chain != null;
            javadoc.param(chain)
                .code("{0}#{1}",
                        output.getOwner().getDescription().getName(),
                        output.getDescription().getName())
                .text("への出力");
            parameters.add(factory.newFormalParameterDeclaration(
View Full Code Here

Examples of com.asakusafw.utils.java.model.util.JavadocBuilder.param()

        List<FormalParameterDeclaration> parameters = Lists.create();
        List<Expression> arguments = Lists.create();
        List<Expression> inputMetaData = Lists.create();
        for (OperatorPortDeclaration var : descriptor.getInputPorts()) {
            SimpleName name = factory.newSimpleName(var.getName());
            javadoc.param(name).inline(var.getDocumentation());
            parameters.add(util.toFactoryMethodInput(var, name));
            inputMetaData.add(util.toMetaData(var, arguments.size()));
            arguments.add(name);
        }
        List<Expression> outputMetaData = Lists.create();
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.