Codota Logo
HistoryJsonUtil$ParameterType.name
Code IndexAdd Codota to your IDE (free)

How to use
name
method
in
edu.isi.karma.controller.history.HistoryJsonUtil$ParameterType

Best Java code snippets using edu.isi.karma.controller.history.HistoryJsonUtil$ParameterType.name (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: usc-isi-i2/Web-Karma

private void saveSemanticTypesInformation(Worksheet worksheet, Workspace workspace
    , Collection<SemanticType> semanticTypes) throws JSONException {
  JSONArray typesArray = new JSONArray();
  
  // Add the vworksheet information
  JSONObject vwIDJObj = new JSONObject();
  vwIDJObj.put(ClientJsonKeys.name.name(), ParameterType.worksheetId.name());
  vwIDJObj.put(ClientJsonKeys.type.name(), ParameterType.worksheetId.name());
  vwIDJObj.put(ClientJsonKeys.value.name(), worksheetId);
  typesArray.put(vwIDJObj);

  for (SemanticType type: semanticTypes) {
    // Add the hNode information
    JSONObject hNodeJObj = new JSONObject();
    hNodeJObj.put(ClientJsonKeys.name.name(), ParameterType.hNodeId.name());
    hNodeJObj.put(ClientJsonKeys.type.name(), ParameterType.hNodeId.name());
    hNodeJObj.put(ClientJsonKeys.value.name(), type.getHNodeId());
    typesArray.put(hNodeJObj);
    
    // Add the semantic type information
    JSONObject typeJObj = new JSONObject();
    typeJObj.put(ClientJsonKeys.name.name(), ClientJsonKeys.SemanticType.name());
    typeJObj.put(ClientJsonKeys.type.name(), ParameterType.other.name());
    typeJObj.put(ClientJsonKeys.value.name(), type.getJSONArrayRepresentation());
    typesArray.put(typeJObj);
  }
  setInputParameterJson(typesArray.toString(4));
}
origin: usc-isi-i2/Web-Karma

private void saveSemanticTypesInformation(Worksheet worksheet, Workspace workspace
    , Collection<SemanticType> semanticTypes) throws JSONException {
  JSONArray typesArray = new JSONArray();
  
  // Add the vworksheet information
  JSONObject vwIDJObj = new JSONObject();
  vwIDJObj.put(ClientJsonKeys.name.name(), ParameterType.worksheetId.name());
  vwIDJObj.put(ClientJsonKeys.type.name(), ParameterType.worksheetId.name());
  vwIDJObj.put(ClientJsonKeys.value.name(), worksheetId);
  typesArray.put(vwIDJObj);
  
  for (SemanticType type: semanticTypes) {
    // Add the hNode information
    JSONObject hNodeJObj = new JSONObject();
    hNodeJObj.put(ClientJsonKeys.name.name(), ParameterType.hNodeId.name());
    hNodeJObj.put(ClientJsonKeys.type.name(), ParameterType.hNodeId.name());
    hNodeJObj.put(ClientJsonKeys.value.name(), type.getHNodeId());
    typesArray.put(hNodeJObj);
    
    // Add the semantic type information
    JSONObject typeJObj = new JSONObject();
    typeJObj.put(ClientJsonKeys.name.name(), ClientJsonKeys.SemanticType.name());
    typeJObj.put(ClientJsonKeys.type.name(), ParameterType.other.name());
    typeJObj.put(ClientJsonKeys.value.name(), type.getJSONArrayRepresentation());
    typesArray.put(typeJObj);
  }
  setInputParameterJson(typesArray.toString());
}
origin: usc-isi-i2/Web-Karma

obj.put(ClientJsonKeys.name.name(), "inputColumns");
obj.put(ClientJsonKeys.value.name(), inputArray.toString());
obj.put(ClientJsonKeys.type.name(), ParameterType.hNodeIdList.name());
inputArr.put(obj);
obj.put(ClientJsonKeys.name.name(), "outputColumns");
obj.put(ClientJsonKeys.value.name(), outputArray.toString());
obj.put(ClientJsonKeys.type.name(), ParameterType.hNodeIdList.name());
inputArr.put(obj);
origin: usc-isi-i2/Web-Karma

JSONObject t = new JSONObject();
t.put("name", "worksheetId");
t.put("type", HistoryJsonUtil.ParameterType.worksheetId.name());
t.put("value", worksheetId);
inputJSON.put(t);
t = new JSONObject();
t.put("name", "initialEdges");
t.put("type", HistoryJsonUtil.ParameterType.other.name());
t.put("value", initialEdges);
inputJSON.put(t);
t = new JSONObject();
t.put("name", "newEdges");
t.put("type", HistoryJsonUtil.ParameterType.other.name());
t.put("value", newEdges);
inputJSON.put(t);
edu.isi.karma.controller.historyHistoryJsonUtil$ParameterTypename

Popular methods of HistoryJsonUtil$ParameterType

  • toString
  • valueOf

Popular in Java

  • Finding current android device location
  • getResourceAsStream (ClassLoader)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • getContentResolver (Context)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • MessageFormat (java.text)
    MessageFormat provides a means to produce concatenated messages in language-neutral way. Use this to
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now