Tabnine Logo
ParserViewDefinition.getID
Code IndexAdd Tabnine to your IDE (free)

How to use
getID
method
in
it.unibz.inf.ontop.dbschema.ParserViewDefinition

Best Java code snippets using it.unibz.inf.ontop.dbschema.ParserViewDefinition.getID (Showing top 3 results out of 315)

origin: it.unibz.inf.ontop/ontop-rdb

@Override
public String toString() {
  StringBuilder bf = new StringBuilder();
  bf.append(getID()).append(" [");
  Joiner.on(", ").appendTo(bf, attributes);
  bf.append("]").append(" (").append(statement).append(")");
  return bf.toString();
}
origin: ontop/ontop

@Override
public String toString() {
  StringBuilder bf = new StringBuilder();
  bf.append(getID()).append(" [");
  Joiner.on(", ").appendTo(bf, attributes);
  bf.append("]").append(" (").append(statement).append(")");
  return bf.toString();
}
origin: ontop/ontop

  @Override
  public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
    JLabel label = (JLabel) super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);
    final int tableSize = list.getModel().getSize();
    if (tableSize == 0) {
      label.setText("<No table found>");
      return label;
    } else {
      if (index == -1) {
        label.setText("<Select database table>");
        return label;
      } else {
        if (value instanceof DatabaseRelationDefinition) {
          DatabaseRelationDefinition td = (DatabaseRelationDefinition) value;
          ImageIcon icon = IconLoader.getImageIcon("images/db_table.png");
          label.setIcon(icon);
          label.setText(td.getID().getSQLRendering());
        } else if (value instanceof ParserViewDefinition) {
          // ROMAN (7 Oct 2015): I'm not sure we need "views" -- they are
          // created by SQLQueryParser for complex queries that cannot be parsed
          ParserViewDefinition vd = (ParserViewDefinition) value;
          ImageIcon icon = IconLoader.getImageIcon("images/db_view.png");
          label.setIcon(icon);
          label.setText(vd.getID().getSQLRendering());
        }
        return label;
      }
    }
  }
}
it.unibz.inf.ontop.dbschemaParserViewDefinitiongetID

Popular methods of ParserViewDefinition

  • <init>
  • getAttributes
  • getStatement
    returns the SQL definition of the sub-query
  • getAtomPredicate
  • getAttribute

Popular in Java

  • Creating JSON documents from java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setScale (BigDecimal)
  • runOnUiThread (Activity)
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top Vim plugins
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