Package es.urjc.escet.semium.Import

Examples of es.urjc.escet.semium.Import.DirectImportStatement


                String qry = config.getResolveExistingID();
                qry = config.replaceValues(qry,ent.getValues());
                String newID = Util.getExistingOrNewID(model, qry);
                /** Add fetched Statements **/
                for(ParsedEntryValue val:ent.getValues()){
                    DirectImportStatement stmt = new DirectImportStatement();
                    stmt.setS(newID);
                    stmt.setP(val.getTargetpredicate());
                    stmt.setO(val.getValue());
                    stmt.setObjectAsResource(val.isImportAsResource());
                    impStatements.add(stmt);
                }
               
                /** Add fixed Statements **/
                for(DataFetchFixedStatement fStmt:ent.getFStatements()){
                    DirectImportStatement stmt = new DirectImportStatement();
                    stmt.setS(newID);
                    stmt.setP(fStmt.getP());
                    stmt.setO(fStmt.getO());
                    stmt.setObjectAsResource(fStmt.isObjectAsResource());
                    impStatements.add(stmt);
                }
            }

           
View Full Code Here

TOP

Related Classes of es.urjc.escet.semium.Import.DirectImportStatement

Copyright © 2018 www.massapicom. 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.