Examples of Relations


Examples of org.jitterbit.integration.client.ui.structure.editor.db.rels.Relations

   
    private DatabaseTable productsTab;
   
    @Before
    public void setup() {
        rels = new Relations();
        TableCreator factory = new TableCreator(new BeginEndQuote("\""), false);
        ordersTab = factory.createOrdersTable();
        orderDetailsTab = factory.createOrderDetailsTable();
        orderLogTab = factory.createOrderLogTable();
        productsTab = factory.createProductsTable();
View Full Code Here

Examples of org.jitterbit.integration.client.ui.structure.editor.db.rels.Relations

        rels.removeTable(orderDetailsTab);
        assertEquals(1, rels.getAllRelationships().size());
        TableRelationship r = rels.getAllRelationships().get(0);
        assertSame(ordersTab, r.getParentObject());
        assertSame(orderLogTab, r.getChildObject());
        rels = new Relations();
        rels.add(orderToOrderDetails());
        rels.add(orderDetailsToProducts());
        rels.add(orderToOrderLog());
        rels.removeTable(ordersTab);
        assertTrue(rels.isEmpty());
View Full Code Here

Examples of org.jitterbit.integration.client.ui.structure.editor.db.rels.Relations

    private DatabaseTable productsTab;

    @Before
    public void setup() {
        rels = new Relations();
        TableCreator factory = new TableCreator(new BeginEndQuote("\""), false);
        ordersTab = factory.createOrdersTable();
        orderDetailsTab = factory.createOrderDetailsTable();
        orderLogTab = factory.createOrderLogTable();
        productsTab = factory.createProductsTable();
View Full Code Here

Examples of org.ontospread.xmlbind.Relations

        ConceptDescription currentConceptDescription = OntologyHelper.createConceptDescription(ontResource);
        concept.setConceptDescription(currentConceptDescription);
       
        if(ontResource.isClass()){           
            OntClass ontClass = ontResource.asClass();
            Relations relations = concept.getRelations();
            logger.debug("Adding relations "+relations);
            relations.getRelations().addAll(getRelations(TypeHierarchy.SUPERCLASS, ontClass.listSuperClasses(true)));
            relations.getRelations().addAll(getRelations(TypeHierarchy.SUBCLASS, ontClass.listSubClasses(true)));
            concept.setRelations(relations);
            fillInstances(ontClass, concept);
        }else if(ontResource.isIndividual()){
            Individual individual = ontResource.asIndividual();
            List conceptRelations = concept.getRelations().getRelations();
View Full Code Here

Examples of org.ontospread.xmlbind.Relations

public class ConceptBuilderUtils {


    public static Concept createEmptyConcept() {
        Concept concept = new Concept();
        concept.setRelations(new Relations());
        concept.setContext(false);       
        concept.setInstances(new Concepts());
        concept.setInstanceof(new Concepts());
        return concept;
    }
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.