Examples of LabelAtFacetOnPropertyAnnotation


Examples of org.apache.isis.core.metamodel.facets.properties.labelat.annotation.LabelAtFacetOnPropertyAnnotation

        facetFactory.process(new ProcessMethodContext(Customer.class, null, null, method, methodRemover, facetedMethod));

        final Facet facet = facetedMethod.getFacet(LabelAtFacet.class);
        assertNotNull(facet);
        assertTrue(facet instanceof LabelAtFacetOnPropertyAnnotation);
        final LabelAtFacetOnPropertyAnnotation labelAtFacetAnnotation = (LabelAtFacetOnPropertyAnnotation) facet;
        assertEquals(LabelAt.Position.LEFT, labelAtFacetAnnotation.value());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.