Examples of identifier()


Examples of org.dbwiki.data.index.DatabaseEntry.identifier()

      DatabaseEntry entry = database.content().get(entryIdentifier);
      if (entry != null) {
        if (url.size() > 1) {
          return this.decode(database, (DatabaseGroupNode)database.get(entry.identifier()), versionParameter, url, 1);
        } else {
          return entry.identifier();
        }
      } else {
        throw new WikiDataException(WikiDataException.UnknownResource, url.toString());
      }
    } else {
View Full Code Here

Examples of org.dbwiki.data.provenance.Provenance.identifier()

    if (provenance.user() != null) {
      statement.setInt(4, provenance.user().id());
    } else {
      statement.setInt(4, User.UnknownUserID);
    }
    if (provenance.identifier() != null) {
      statement.setInt(5, ((NodeIdentifier)provenance.identifier()).nodeID());
    } else {
      statement.setInt(5, RelVersionColNodeValImport);
    }
    if (provenance.isCopy()) {
View Full Code Here

Examples of org.dbwiki.data.provenance.Provenance.identifier()

      statement.setInt(4, provenance.user().id());
    } else {
      statement.setInt(4, User.UnknownUserID);
    }
    if (provenance.identifier() != null) {
      statement.setInt(5, ((NodeIdentifier)provenance.identifier()).nodeID());
    } else {
      statement.setInt(5, RelVersionColNodeValImport);
    }
    if (provenance.isCopy()) {
      statement.setString(6, ((ProvenanceCopy)provenance).sourceURL());
View Full Code Here

Examples of org.dbwiki.data.schema.SchemaNode.identifier()

    String line = null;
   
    SchemaNode schema = _request.schema();
    while (schema != null) {
      String target = _request.wri().databaseIdentifier().linkPrefix() + schema.identifier().toURLString();
      if (!versionParameter.versionCurrent()) {
        target = target + "?" + versionParameter.toURLString();
      }
      String link = schema.label();
      // FIXME #schema
View Full Code Here

Examples of org.dbwiki.data.wiki.WikiPageDescription.identifier()

         
          File wikiFile = new File(args.wikiDir+ File.separator + "page_" + i +".xml" );
          OutputStream wikioutstream = new FileOutputStream(wikiFile);
          OutputStreamWriter wikiout = new OutputStreamWriter(wikioutstream);
         
          DatabaseWikiPage content = _wiki.wiki().get(wikiEntry.identifier());
          content.write(wikiout);
          wikiout.close();
          wikioutstream.close();
        }
      } else {
View Full Code Here

Examples of org.drools.compiler.lang.api.GlobalDescrBuilder.identifier()

                    null,
                    DroolsEditorType.IDENTIFIER_TYPE);
            if (state.failed)
                return null;
            if (state.backtracking == 0) {
                global.identifier(id.getText());
                helper.setParaphrasesValue(DroolsParaphraseTypes.GLOBAL,
                        id.getText());
            }

        } catch (RecognitionException re) {
View Full Code Here

Examples of org.drools.compiler.lang.api.GlobalDescrBuilder.identifier()

                              null,
                              null,
                              DroolsEditorType.IDENTIFIER_TYPE );
            if ( state.failed ) return null;
            if ( state.backtracking == 0 ) {
                global.identifier( id.getText() );
                helper.setParaphrasesValue( DroolsParaphraseTypes.GLOBAL,
                                            id.getText() );
            }

        } catch ( RecognitionException re ) {
View Full Code Here

Examples of org.drools.compiler.lang.api.GlobalDescrBuilder.identifier()

                              null,
                              null,
                              DroolsEditorType.IDENTIFIER_TYPE );
            if ( state.failed ) return null;
            if ( state.backtracking == 0 ) {
                global.identifier( id.getText() );
                helper.setParaphrasesValue( DroolsParaphraseTypes.GLOBAL,
                                            id.getText() );
            }

        } catch ( RecognitionException re ) {
View Full Code Here

Examples of org.drools.compiler.lang.api.GlobalDescrBuilder.identifier()

                              null,
                              null,
                              DroolsEditorType.IDENTIFIER_TYPE );
            if ( state.failed ) return null;
            if ( state.backtracking == 0 ) {
                global.identifier( id.getText() );
                helper.setParaphrasesValue( DroolsParaphraseTypes.GLOBAL,
                                            id.getText() );
            }

        } catch ( RecognitionException re ) {
View Full Code Here

Examples of org.drools.compiler.lang.api.GlobalDescrBuilder.identifier()

                    null,
                    DroolsEditorType.IDENTIFIER_TYPE);
            if (state.failed)
                return null;
            if (state.backtracking == 0) {
                global.identifier(id.getText());
                helper.setParaphrasesValue(DroolsParaphraseTypes.GLOBAL,
                        id.getText());
            }

        } catch (RecognitionException re) {
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.