Tabnine Logo
DatastoreDictionary.getQualifiedColumnName
Code IndexAdd Tabnine to your IDE (free)

How to use
getQualifiedColumnName
method
in
org.datacleaner.reference.DatastoreDictionary

Best Java code snippets using org.datacleaner.reference.DatastoreDictionary.getQualifiedColumnName (Showing top 3 results out of 315)

origin: datacleaner/DataCleaner

private static String getDescription(final Dictionary dictionary) {
  if (dictionary.getDescription() != null) {
    return dictionary.getDescription();
  }
  if (dictionary instanceof TextFileDictionary) {
    return ((TextFileDictionary) dictionary).getFilename();
  } else if (dictionary instanceof DatastoreDictionary) {
    final DatastoreDictionary datastoreDictionary = (DatastoreDictionary) dictionary;
    return datastoreDictionary.getDatastoreName() + ": " + datastoreDictionary.getQualifiedColumnName();
  } else if (dictionary instanceof SimpleDictionary) {
    final SimpleDictionary simpleDictionary = (SimpleDictionary) dictionary;
    final Collection<String> values = simpleDictionary.getValueSet();
    final StringBuilder sb = new StringBuilder();
    for (final String value : values) {
      if (sb.length() > 0) {
        sb.append(",");
      }
      sb.append(value);
      if (sb.length() > 20) {
        break;
      }
    }
    return sb.toString();
  }
  return "";
}
origin: datacleaner/DataCleaner

private Element toElement(final DatastoreDictionary dictionary) {
  final Element elem = getDocument().createElement("datastore-dictionary");
  elem.setAttribute("name", dictionary.getName());
  if (!Strings.isNullOrEmpty(dictionary.getDescription())) {
    elem.setAttribute("description", dictionary.getDescription());
  }
  appendElement(elem, "datastore-name", dictionary.getDatastoreName());
  appendElement(elem, "column-path", dictionary.getQualifiedColumnName());
  appendElement(elem, "load-into-memory", dictionary.isLoadIntoMemory());
  return elem;
}
origin: datacleaner/DataCleaner

_columnTextField.setText(dictionary.getQualifiedColumnName());
_datastoreComboBox.setSelectedItem(dictionary.getDatastoreName());
org.datacleaner.referenceDatastoreDictionarygetQualifiedColumnName

Popular methods of DatastoreDictionary

  • getDatastoreName
  • getName
  • <init>
  • getColumn
  • getDescription
  • isLoadIntoMemory
  • loadIntoMemory
  • setDescription

Popular in Java

  • Start an intent from android
  • startActivity (Activity)
  • getResourceAsStream (ClassLoader)
  • setContentView (Activity)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • JLabel (javax.swing)
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now