Package edu.stanford.bmir.protege.web.shared.crud

Examples of edu.stanford.bmir.protege.web.shared.crud.EntityCrudKitId


        EntityCrudKit<S> kit = getKit(id);
        return getHandler(new EntityCrudKitSettings<S>(kit.getDefaultPrefixSettings(), kit.getDefaultSuffixSettings()));
    }

    public <H extends EntityCrudKitHandler<S, C>, S extends EntityCrudKitSuffixSettings, C extends ChangeSetEntityCrudSession> EntityCrudKitHandler<S, C> getHandler(EntityCrudKitSettings<S> settings) {
        EntityCrudKitId kitId = settings.getSuffixSettings().getKitId();
        EntityCrudKitPlugin<H, S, C> plugin = getPlugin(kitId);
        return plugin.getEntityCrudKitHandler(settings);
    }
View Full Code Here


        EntityCrudKitId.get(null);
    }

    @Test
    public void equalsIsTrueWithSameLexicalForms() {
        EntityCrudKitId idA = EntityCrudKitId.get("A");
        EntityCrudKitId idB = EntityCrudKitId.get("A");
        assertEquals(idA, idB);
    }
View Full Code Here

        assertEquals(idA, idB);
    }

    @Test
    public void equalsIsFalseWithDifferentLexicalForms() {
        EntityCrudKitId idA = EntityCrudKitId.get("A");
        EntityCrudKitId idB = EntityCrudKitId.get("B");
        assertFalse(idA.equals(idB));
    }
View Full Code Here

        assertFalse(idA.equals(idB));
    }

    @Test
    public void getLexicalFormIsEqualToTheConstructorLexicalForm() {
        EntityCrudKitId id = EntityCrudKitId.get("A");
        assertEquals(id.getLexicalForm(), "A");
    }
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.shared.crud.EntityCrudKitId

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.