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

Examples of edu.stanford.bmir.protege.web.shared.crud.uuid.UUIDSuffixSettings


    private static EntityCrudKitPrefixSettings getDefaultPrefixSettings() {
        return new EntityCrudKitPrefixSettings();
    }

    private static EntityCrudKitSuffixSettings getDefaultSuffixSettings() {
        return new UUIDSuffixSettings();
    }
View Full Code Here


        return new UUIDEntityCrudKitHandler();
    }

    @Override
    public UUIDSuffixSettings getDefaultSettings() {
        return new UUIDSuffixSettings();
    }
View Full Code Here

    private EntityCrudKitPrefixSettings prefixSettings;

    private UUIDSuffixSettings suffixSettings;

    public UUIDEntityCrudKitHandler() {
        this(new EntityCrudKitPrefixSettings(), new UUIDSuffixSettings());
    }
View Full Code Here

    }

    @Override
    public Optional<UUIDSuffixSettings> getValue() {
        return Optional.of(new UUIDSuffixSettings());
    }
View Full Code Here

*/
public class UUIDSuffixSettingsTestCase {

    @Test
    public void equalsReturnsTrueForDifferentObjects() {
        UUIDSuffixSettings settingsA = new UUIDSuffixSettings();
        UUIDSuffixSettings settingsB = new UUIDSuffixSettings();
        assertEquals(settingsA, settingsB);
    }
View Full Code Here

        assertEquals(settingsA, settingsB);
    }

    @Test
    public void hashCodeReturnsSameValueForDifferentObjects() {
        UUIDSuffixSettings settingsA = new UUIDSuffixSettings();
        UUIDSuffixSettings settingsB = new UUIDSuffixSettings();
        assertEquals(settingsA.hashCode(), settingsB.hashCode());
    }
View Full Code Here

        assertEquals(settingsA.hashCode(), settingsB.hashCode());
    }

    @Test
    public void getKitIdIsNotNull() {
        UUIDSuffixSettings settings = new UUIDSuffixSettings();
        EntityCrudKitId kitId = settings.getKitId();
        assertNotNull(kitId);
    }
View Full Code Here

        assertNotNull(kitId);
    }

    @Test
    public void getKitIdMatchesUUIDDescriptorId() {
        UUIDSuffixSettings settings = new UUIDSuffixSettings();
        assertEquals(UUIDSuffixKit.get().getKitId(), settings.getKitId());
    }
View Full Code Here

*/
public class UUIDSuffixSettingsTestCase {

    @Test
    public void getKitIdReturnsExpectedId() {
        UUIDSuffixSettings suffixSettings = new UUIDSuffixSettings();
        assertEquals(UUIDSuffixKit.get().getKitId(), suffixSettings.getKitId());
    }
View Full Code Here

        assertEquals(UUIDSuffixKit.get().getKitId(), suffixSettings.getKitId());
    }

    @Test
    public void differentObjectsAreEqualAndHaveEqualHashCodes() {
        UUIDSuffixSettings settingsA = new UUIDSuffixSettings();
        UUIDSuffixSettings settingsB = new UUIDSuffixSettings();
        assertEquals(settingsA, settingsB);
        assertEquals(settingsA.hashCode(), settingsB.hashCode());
    }
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.shared.crud.uuid.UUIDSuffixSettings

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.