Examples of ADecoratorTypeDefinition


Examples of it.cilea.osd.jdyna.model.ADecoratorTypeDefinition

        for (IContainable cont : containables)
        {

            if (cont instanceof ADecoratorTypeDefinition)
            {
                ADecoratorTypeDefinition decorator = (ADecoratorTypeDefinition) cont;
                ATypeNestedObject<ANestedPropertiesDefinition> real = ((ATypeNestedObject<ANestedPropertiesDefinition>) decorator
                        .getReal());
                List<ANestedObject> results = applicationService
                        .getNestedObjectsByParentIDAndTypoID(Integer
                                .parseInt(anagrafica.getIdentifyingValue()),
                                (real.getId()), ANestedObject.class);
                boolean resultPiece = true;
                for (ANestedObject object : results)
                {
                    for (ANestedPropertiesDefinition rpp : real.getMask())
                    {
                        resultPiece = checkDynamicVisibility(object,
                                rpp.getShortName(), rpp.getRendering(), rpp);
                        if (resultPiece == false)
                        {
                            return false;
                        }
                    }
                }

            }

            if (cont instanceof ADecoratorPropertiesDefinition)
            {
                ADecoratorPropertiesDefinition decorator = (ADecoratorPropertiesDefinition) cont;
                boolean resultPiece = checkDynamicVisibility(anagrafica,
                        decorator.getShortName(), decorator.getRendering(),
                        (TP) decorator.getReal());
                if (resultPiece == false)
                {
                    return false;
                }
            }
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.