Examples of toMap()


Examples of com.salesforce.hbase.index.covered.update.IndexUpdateManager.toMap()

        //just set the timestamp on the table - it already has all the future state
        state.setCurrentTimestamp(entry.getTimestamp());
        this.addDeleteUpdatesToMap(updateMap, state, entry.getTimestamp());
      }
    }
    return updateMap.toMap();
  }


  /**
   * @param filtered
View Full Code Here

Examples of com.stormpath.samples.todos.error.RestError.toMap()

    public Response toResponse(Throwable t) {
        //System.out.println("Throwable: " + t);
        RestError error = getRestError(t);
        return Response.status(Response.Status.fromStatusCode(error.getStatus().value()))
                .type(MediaType.APPLICATION_JSON_TYPE)
                .entity(error.toMap()).build();
    }

    private RestError getRestError(Throwable t) {

        RestError template = getRestErrorTemplate(t);
View Full Code Here

Examples of com.tinkerpop.blueprints.Features.toMap()

                    isReadOnly = true;
                }
            }

            final Features features = graph.getFeatures();
            this.resultObject.put(Tokens.FEATURES, new JSONObject(features.toMap()));
            this.resultObject.put(Tokens.READ_ONLY, isReadOnly);
            this.resultObject.put(Tokens.TYPE, graphType);
            this.resultObject.put(Tokens.QUERY_TIME, this.sh.stopWatch());
            this.resultObject.put(Tokens.UP_TIME, this.getTimeAlive());
            this.resultObject.put(Tokens.VERSION, Tokens.REXSTER_VERSION);
View Full Code Here

Examples of com.twilio.sdk.TwilioRestResponse.toMap()

   * @see com.twilio.sdk.resource.factory.SmsFactory#create(java.util.Map)
   */
  public Sms create(Map<String, String> params) throws TwilioRestException {
    TwilioRestResponse response = this.getClient().safeRequest(
        this.getResourceLocation(), "POST", params);
    return makeNew(this.getClient(), response.toMap());
  }

  /* (non-Javadoc)
   * @see com.twilio.sdk.resource.factory.SmsFactory#create(java.util.List)
   */
 
View Full Code Here

Examples of com.whatevernot.flatlang.INode.toMap()

          String[] list = node.toList();
          mi = SetterUtil.handleList(methodName, list, className_, methods);
        }
        else if(node.isMap())
        {
          Properties props = node.toMap();
          mi = SetterUtil.handleMap(methodName, props, className_, methods);
        }
        else
        {
          Log.error(this, "setupInvocation", "Invalid node with value '" + value + "'.");
View Full Code Here

Examples of dbfit.util.DbParameterAccessorsMapBuilder.toMap()

                           getSqlType(rs.getString(2)),
                           getJavaClass(rs.getString(2)));
            }
        }

        return params.toMap();
    }

    // List interface has sequential search, so using list instead of array to
    // map types
    private static List<String> stringTypes = Arrays.asList(new String[] {
View Full Code Here

Examples of de.arago.rike.commons.data.Artifact.toMap()

        String message = " changed Artifact #";
        if (newArtifactCreated) {
            message = " created Artifact #";
        }
        ActivityLogHelper.log(message + artifact.getId() + " <a href=\"/web/guest/rike/-/show/artifact/" + artifact.getId() + "\">" + StringEscapeUtils.escapeHtml(artifact.getName()) + "</a>", "", artifact.getCreator(), data, artifact.toMap());
    }
}
View Full Code Here

Examples of de.arago.rike.commons.data.Milestone.toMap()

        if (newMilestoneCreated) {
            message = " created Milestone #";
        }


        ActivityLogHelper.log(message + milestone.getId() + " <a href=\"/web/guest/rike/-/show/milestone/" + milestone.getId() + "\">" + StringEscapeUtils.escapeHtml(milestone.getTitle()) + "</a>", "", milestone.getCreator(), data, milestone.toMap());

    }
}
View Full Code Here

Examples of de.arago.rike.commons.data.Task.toMap()

                HashMap<String, Object> notificationParam = new HashMap<String, Object>();

                notificationParam.put("id", task.getId().toString());
                data.setEvent("TaskUpdateNotification", notificationParam);

                ActivityLogHelper.log(" started Task #" + task.getId() + " <a href=\"/web/guest/rike/-/show/task/" + task.getId() + "\">" + StringEscapeUtils.escapeHtml(task.getTitle()) + "</a> ", task.getStatus(), user, data, task.toMap());
            }
        }
    }
}
View Full Code Here

Examples of de.fuberlin.wiwiss.d2rq.algebra.VariableConstraints.toMap()

        if (t.getObject().isVariable())
          names.add(t.getObject().getName());
 
        for (String name: names) {
          Var nameVar = Var.alloc(name);
          NodeMaker n = (NodeMaker) nodeSets.toMap().get(nameVar);
          if (n != null/* && n instanceof TypedNodeMaker*/) {

            AttributeSet attributes = AttributeSet.createFrom(n);
            /*
             * If we would set an alias to this table...
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.