Package org.eurekastreams.commons.model

Examples of org.eurekastreams.commons.model.MyDomainEntity


    @Test
    public void testLoadProperties()
    {
        final long entityId = 0xF00BA7;
        final float searchScore = 3.0272F;
        final DomainEntity entity = new MyDomainEntity();

        Map<String, Object> props = new HashMap<String, Object>();
        props.put("__HSearch_id", entityId);
        props.put("__HSearch_Score", searchScore);
        props.put("__HSearch_This", entity);
View Full Code Here


    @Test
    public void testLoadPropertiesWithId()
    {
        final long entityId = 0xF00BA7;
        final float searchScore = 3.0272F;
        final DomainEntity entity = new MyDomainEntity();

        Map<String, Object> props = new HashMap<String, Object>();
        props.put("id", entityId);
        props.put("__HSearch_Score", searchScore);
        props.put("__HSearch_This", entity);
View Full Code Here

     * Test the managedEntity property.
     */
    @Test
    public void testManagedEntityProperty()
    {
        DomainEntity entity = new MyDomainEntity();
        assertNull(sut.getManagedEntity());
        sut.setManagedEntity(entity);
        assertEquals(entity, sut.getManagedEntity());
    }
View Full Code Here

TOP

Related Classes of org.eurekastreams.commons.model.MyDomainEntity

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.