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

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


        });

        float1 = new Float(32.5f);
        allowMockAdapterToReturn(float1);

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


        });

        short1 = Short.valueOf((short) 32);
        allowMockAdapterToReturn(short1);

        holder = new FacetHolderImpl();

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

        });

        percentage = new Percentage(0.105f);
        allowMockAdapterToReturn(percentage);

        holder = new FacetHolderImpl();

        setValue(adapter = new PercentageValueSemanticsProvider(holder, mockConfiguration, mockContext));
    }
View Full Code Here

            }
        });

        TestClock.initialize();
        timestamp = new Timestamp(0);
        holder = new FacetHolderImpl();
        setValue(adapter = new JavaSqlTimeStampValueSemanticsProvider(holder, mockConfiguration, mockContext));
    }
View Full Code Here

            }
        });

        TestClock.initialize();
        timestamp = new TimeStamp(0);
        holder = new FacetHolderImpl();
        setValue(adapter = new TimeStampValueSemanticsProvider(holder, mockConfiguration, mockContext));
    }
View Full Code Here

    private Object password;
    private FacetHolder holder;

    @Before
    public void setUpObjects() throws Exception {
        holder = new FacetHolderImpl();
        setValue(adapter = new PasswordValueSemanticsProvider(holder, mockConfiguration, mockContext));
        password = new Password("secret");
    }
View Full Code Here

    protected FacetedMethod facetedMethod;
    protected FacetedMethodParameter facetedMethodParameter;

    @Before
    public void setUpFacetedMethodAndParameter() throws Exception {
        facetHolderImpl = new FacetHolderImpl();
        facetedMethod = FacetedMethod.createForProperty(AbstractFacetFactoryTest.Customer.class, "firstName");
        facetedMethodParameter = new FacetedMethodParameter(String.class);
    }
View Full Code Here

    @Override
    protected void setUp() throws Exception {
        super.setUp();
        reflector = new ProgrammableReflector();
        facetHolder = new FacetHolderImpl();
        facetedMethod = FacetedMethod.createForProperty(Customer.class, "firstName");
        facetedMethodParameter = new FacetedMethodParameter(String.class);
        methodRemover = new ProgrammableMethodRemover();
    }
View Full Code Here

    private FacetHolder holder;

    @Before
    public void setUpObjects() throws Exception {
        Locale.setDefault(Locale.UK);
        holder = new FacetHolderImpl();
        setValue(adapter = new MoneyValueSemanticsProvider(holder, mockConfiguration, mockContext));
    }
View Full Code Here

        });

        TestClock.initialize();
        date = new java.util.Date(0);

        holder = new FacetHolderImpl();
        setValue(new JavaUtilDateValueSemanticsProvider(holder, mockConfiguration, mockContext) {
            @Override
            protected String defaultFormat() {
                return "iso";
            }
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.