Package ariba.ui.meta.core

Examples of ariba.ui.meta.core.ObjectMeta


        return null;
    }

    String detailClassName ()
    {
        ObjectMeta meta = UIMeta.getInstance();
        Context context = meta.newContext();
        context.set(ObjectMeta.KeyClass, _parentObject.getClass().getName());
        context.set(ObjectMeta.KeyField, _detailFieldPath.fieldPathString());
        return (String)context.propertyForKey(ObjectMeta.KeyElementType);
    }
View Full Code Here


    public static void initialize ()
    {
        if (_DidInit) return;
        JPAContext.registerQueryProcessor(new CompassQueryProcessor());

        ObjectMeta meta = UIMeta.getInstance();

        meta.registerAnnotationListener(Searchable.class, new ObjectMeta.AnnotationProcessor(){
            public void processAnnotation(Annotation annotation, AnnotatedElement prop, List predicateList, Map propertyMap, boolean isAction)
            {
                if (!isAction) ObjectMeta.addTrait("Searchable", propertyMap);
            }
        });

        meta.registerAnnotationListener(SearchableProperty.class, new ObjectMeta.AnnotationProcessor(){
            public void processAnnotation(Annotation annotation, AnnotatedElement prop, List predicateList, Map propertyMap, boolean isAction)
            {
                if (!isAction) ObjectMeta.addTrait("SearchableProperty", propertyMap);               
            }
        });
View Full Code Here

TOP

Related Classes of ariba.ui.meta.core.ObjectMeta

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.