Package org.auraframework.def

Examples of org.auraframework.def.ValueDef


                    String qn = "java://" + formatType(genParams[i]);
                    DefDescriptor<TypeDef> typeDefDesc = DefDescriptorImpl.getInstance(qn, TypeDef.class);

                    // FIXME = "we need an md5";
                    String paramName = ((Key) annotation).value();
                    ValueDef valueDef = new JavaValueDef(paramName, typeDefDesc, new Location(
                            controllerClass.getName() + "." + name, 0));
                    params.add(valueDef);
                   
                    if (((Key)annotation).loggable()) {
                        loggableParams.add(paramName);
View Full Code Here


        DefDescriptor<ModelDef> javaModelDefDesc = DefDescriptorImpl.getInstance(
                "java://org.auraframework.impl.java.model.TestModelSubclass", ModelDef.class);
        ModelDef def = javaModelDefDesc.getDef();
        assertNotNull(def);
        Model model = def.newInstance();
        ValueDef vd = def.getMemberByName("nextThing");

        PropertyReferenceImpl refNextThing = new PropertyReferenceImpl("nextThing", new Location("test", 0));
        assertNotNull("Unable to find value def for 'nextThing'", vd);
        assertEquals("nextThing", model.getValue(refNextThing));
View Full Code Here

TOP

Related Classes of org.auraframework.def.ValueDef

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.