Examples of BaseProxy


Examples of com.volantis.mcs.interaction.BaseProxy

     */
    private Proxy getSelectionProxy() {
        Proxy selectionProxy = null;
        BeanProxy selectedVariant = context.getSelectedVariant();
        if (selectedVariant != null) {
            BaseProxy selectionBase = (BaseProxy) selectedVariant.getPropertyProxy(PolicyModel.SELECTION);
            if (selectionBase != null) {
                selectionProxy = selectionBase.getConcreteProxy();
                // If we have no concrete metadata, create an empty one of the
                // appropriate type
                if (selectionProxy == null) {
                    SelectionBuilder selection = getDefaultSelectionBuilder();
                    selectionBase.setModelObject(selection);

                    // Now that we've set a concrete model object, we should
                    // have a concrete proxy.
                    selectionProxy = selectionBase.getConcreteProxy();
                }
            }
        }
        return selectionProxy;
    }
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.