Package org.eclipse.sapphire.modeling.annotations

Examples of org.eclipse.sapphire.modeling.annotations.Required


    @Override
    protected void initRequiredConstraintService()
    {
        Function function;
       
        final Required annotation = context( PropertyDef.class ).getAnnotation( Required.class );
       
        if( annotation == null )
        {
            function = Literal.FALSE;
        }
        else
        {
            final String expr = annotation.value().trim();
           
            if( expr.length() == 0 )
            {
                function = Literal.TRUE;
            }
View Full Code Here

TOP

Related Classes of org.eclipse.sapphire.modeling.annotations.Required

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.