Examples of from()


Examples of org.kite9.diagram.annotation.K9Exclude.from()

      AnnotatedElement ae = (AnnotatedElement) o;
      on = ae.getAnnotation(K9Exclude.class);
    }

    if (on != null) {
      if ((on.from().length == 0))
        return true;

      for (Class<?> on1 : on.from()) {
        if (on1.equals((creator instanceof Method) ? ((Method) creator)
            .getDeclaringClass() : null)) {
View Full Code Here

Examples of org.neo4j.gis.spatial.attributes.PropertyMapper.from()

   * @return
   */ 
  @Override
  public boolean hasProperty(String name) {
    PropertyMapper mapper = layer.getPropertyMappingManager().getPropertyMapper(name);
    return mapper == null ? hasGeometryProperty(name) : hasGeometryProperty(mapper.from());
  }

  private boolean hasGeometryProperty(String name) {
    return layer.getGeometryEncoder().hasAttribute(geomNode,name);
  }
View Full Code Here

Examples of org.nutz.dao.entity.annotation.ManyMany.from()

        try {
          stat = conn.createStatement();
          Segment tableName = new CharSegment(mm.relation());
          rs = stat.executeQuery(db.getResultSetMetaSql(TableName.render(tableName)));
          rsmd = rs.getMetaData();
          fromName = !Daos.isIntLikeColumn(rsmd, mm.from());
          toName = !Daos.isIntLikeColumn(rsmd, mm.to());
        }
        catch (Exception e) {
          if (log.isWarnEnabled())
            log.warnf("Fail to get table '%s', '%s' and '%s' "
View Full Code Here

Examples of org.openrdf.sail.rdbms.evaluation.SqlQueryBuilder.from()

    }
    String tableName = statements.getCombinedTableName();
    SqlQueryBuilder query = factory.createSqlQueryBuilder();
    query.select().column("t", "ctx");
    query.select().append("CASE WHEN MIN(u.value) IS NOT NULL THEN MIN(u.value) ELSE MIN(b.value) END");
    SqlJoinBuilder join = query.from(tableName, "t");
    join.leftjoin(bnodes.getName(), "b").on("id", "t.ctx");
    join.leftjoin(uris.getShortTableName(), "u").on("id", "t.ctx");
    SqlBracketBuilder open = query.filter().and().open();
    open.column("u", "value").isNotNull();
    open.or();
View Full Code Here

Examples of org.sonar.api.batch.sensor.dependency.internal.DefaultDependency.from()

  }

  @Override
  public void put(Value value, Object object, CoderContext context) {
    DefaultDependency dep = (DefaultDependency) object;
    value.putUTF(((DefaultInputFile) dep.from()).moduleKey());
    value.putUTF(((DefaultInputFile) dep.from()).relativePath());
    value.putUTF(((DefaultInputFile) dep.to()).moduleKey());
    value.putUTF(((DefaultInputFile) dep.to()).relativePath());
    value.put(dep.weight());
  }
View Full Code Here

Examples of org.springframework.yarn.support.console.ApplicationsReport.SubmittedReportBuilder.from()

    builder.add(SubmittedField.ID, SubmittedField.USER, SubmittedField.NAME, SubmittedField.QUEUE,
        SubmittedField.TYPE, SubmittedField.STARTTIME, SubmittedField.FINISHTIME, SubmittedField.STATE,
        SubmittedField.FINALSTATUS, SubmittedField.ORIGTRACKURL)
        .sort(SubmittedField.ID);
    if (verbose) {
      builder.from(client.listApplications(type));
    } else {
      builder.from(client.listRunningApplications(type));
    }
    if (headers != null) {
      for (Entry<String, String> entry : headers.entrySet()) {
View Full Code Here

Examples of org.subethamail.smtp.client.SmartClient.from()

    smtpServer.setPort(0);
    smtpServer.start();
    try
    {
      SmartClient client = new SmartClient("localhost", smtpServer.getPort(), "test-client.example.org");
      client.from("john@exmaple.com");
      client.to("jane@example.org");
      client.quit();
    }
    finally
    {
View Full Code Here

Examples of org.syrup.Link.from()

        // Check if there are no Ports that have multiple Links attached
        for (int l = 0; l < links.length; l++)
        {
            Link ll = links[l];
            setAndCheckContext(taskContexts, ll.to());
            setAndCheckContext(taskContexts, ll.from());
        }

        // Check if the binding's Ports don't collide with the Link's Ports.
        setAndCheckContext(taskContexts, workflow.in_1_binding());
        setAndCheckContext(taskContexts, workflow.in_2_binding());
View Full Code Here

Examples of r.data.internal.IntImpl.RIntSequence.from()

            public VectorSequenceASized(RDouble a, RInt b, int[] dimensions, Names names, Attributes attributes, int n, int depth, ValueArithmetic arit, ASTNode ast) {
                super(a, b, dimensions, names, attributes, n, depth, arit, ast);
                assert Utils.check(a.size() == n);
                nb = b.size();
                RIntSequence bs = RIntSequence.cast(b);
                bfrom = bs.from();
                bstep = bs.step();
            }

            @Override
            public double getDouble(int i) {
View Full Code Here

Examples of sun.jvm.hotspot.memory.DefNewGeneration.from()

        CollectedHeap heap = VM.getVM().getUniverse().heap();
        if (heap instanceof GenCollectedHeap) {
            DefNewGeneration gen0 = (DefNewGeneration) ((GenCollectedHeap) heap).getGen(0);
            if (gen0.eden().contains(obj.getHandle())) {
                return InEden;
            } else if (gen0.from().contains(obj.getHandle())) {
                return InSurvivor;
            }
            Generation gen1 = ((GenCollectedHeap) heap).getGen(1);
            if (gen1.isIn(obj.getHandle())) {
                return InOld;
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.