Package de.fuberlin.wiwiss.d2rq.map

Examples of de.fuberlin.wiwiss.d2rq.map.PropertyBridge.addProperty()


    stmts = r.listProperties(D2RQ.additionalProperty);
    while (stmts.hasNext()) {
      Resource additionalProperty = stmts.nextStatement().getResource();
      PropertyBridge bridge = new PropertyBridge(r);
      bridge.setBelongsToClassMap(classMap);
      bridge.addProperty(additionalProperty.getProperty(D2RQ.propertyName).getResource());
      bridge.setConstantValue(additionalProperty.getProperty(D2RQ.propertyValue).getObject());
      classMap.addPropertyBridge(bridge);
    }
    stmts = r.listProperties(D2RQ.classDefinitionLabel);
    while (stmts.hasNext()) {
View Full Code Here


    classMap.setDatabase(database);
    classMap.setURIPattern("row/@@T_" + datatype + ".ID@@");
    mapping.addClassMap(classMap);
    PropertyBridge propertyBridge = new PropertyBridge(propertyBridgeURI);
    propertyBridge.setBelongsToClassMap(classMap);
    propertyBridge.addProperty(valueProperty);
    propertyBridge.setColumn("T_" + datatype + ".VALUE");
    classMap.addPropertyBridge(propertyBridge);
    return mapping;
  }
}
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.