Package org.apache.isis.core.metamodel.facetapi

Examples of org.apache.isis.core.metamodel.facetapi.FacetHolderImpl


                allowing(mockConfiguration).getString("isis.value.format.double");
                will(returnValue(null));
            }
        });

        holder = new FacetHolderImpl();
        setValue(new DoubleWrapperValueSemanticsProvider(holder, mockConfiguration, mockContext));

        doubleObj = new Double(32.5d);
        allowMockAdapterToReturn(doubleObj);
    }
View Full Code Here


        });

        TestClock.initialize();
        setupSpecification(Time.class);
        time = new Time(8, 13);
        holder = new FacetHolderImpl();
        setValue(adapter = new TimeValueSemanticsProvider(holder, mockConfiguration, mockContext));
    }
View Full Code Here

    private FacetHolder holder;

    @Before
    public void setUpObjects() throws Exception {
        string = "text entry";
        holder = new FacetHolderImpl();
        setValue(value = new StringValueSemanticsProvider(holder, mockConfiguration, mockContext));
    }
View Full Code Here

        c.set(Calendar.SECOND, 0);

        twoOClock = new Time(c.getTimeInMillis());
        twoOClockNO = createAdapter(twoOClock);

        holder = new FacetHolderImpl();
        setValue(value = new JavaSqlTimeValueSemanticsProvider(holder, mockConfiguration, mockContext));
    }
View Full Code Here

        mockery.checking(new Expectations(){{
          allowing(mockConfiguration).getString("isis.value.format.int");
          will(returnValue(null));
        }});

        holder = new FacetHolderImpl();
        setValue(value = new IntWrapperValueSemanticsProvider(holder, mockConfiguration, mockContext));
    }
View Full Code Here

          allowing(mockConfiguration).getString("isis.value.format.int");
          will(returnValue(null));
        }});


        holder = new FacetHolderImpl();
        setValue(new BigIntegerValueSemanticsProvider(holder, mockConfiguration, mockContext));
    }
View Full Code Here

    @Before
    public void setUpObjects() throws Exception {
        color = new Color(0x3366ff);
        allowMockAdapterToReturn(color);
        holder = new FacetHolderImpl();

        setValue(value = new ColorValueSemanticsProvider(holder, mockConfiguration, mockContext));
    }
View Full Code Here

        }});

        float1 = new Float(32.5f);
        allowMockAdapterToReturn(float1);
       
        holder = new FacetHolderImpl();
        setValue(value = new FloatWrapperValueSemanticsProvider(holder, mockConfiguration, mockContext));
    }
View Full Code Here

    private FacetHolder facetHolder;

    @Before
    public void setUpObjects() throws Exception {
        booleanObj = Boolean.valueOf(true);
        facetHolder = new FacetHolderImpl();
        setValue(value = new BooleanWrapperValueSemanticsProvider(facetHolder, mockConfiguration, mockContext));
    }
View Full Code Here

    @Before
    public void setUpObjects() throws Exception {
        character = Character.valueOf('r');
        characterNO = createAdapter(character);
        holder = new FacetHolderImpl();
        setValue(value = new CharWrapperValueSemanticsProvider(holder, mockConfiguration, mockContext));
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.core.metamodel.facetapi.FacetHolderImpl

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.