Package org.apache.isis.applib.annotation

Examples of org.apache.isis.applib.annotation.Mandatory


    @Override
    public void process(final ProcessMethodContext processMethodContext) {
        if (!Annotations.isAnnotationPresent(processMethodContext.getMethod(), Mandatory.class)) {
            return;
        }
        final Mandatory annotation = Annotations.getAnnotation(processMethodContext.getMethod(), Mandatory.class);
        FacetUtil.addFacet(create(annotation, processMethodContext.getFacetHolder()));
    }
View Full Code Here


    @Override
    public void process(final ProcessMethodContext processMethodContext) {
        if (!Annotations.isAnnotationPresent(processMethodContext.getMethod(), Mandatory.class)) {
            return;
        }
        final Mandatory annotation = Annotations.getAnnotation(processMethodContext.getMethod(), Mandatory.class);
        FacetUtil.addFacet(create(annotation, processMethodContext.getFacetHolder()));
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.applib.annotation.Mandatory

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.