Package org.kie.internal.runtime.conf

Examples of org.kie.internal.runtime.conf.NamedObjectModel


  
    private List<NamedObjectModel> getNamedObjectModeList(String type) {
        type = "-" + type;
        List<NamedObjectModel> namedObjectModelList = new ArrayList<NamedObjectModel>();
        for( int i = 0; i < 2; ++i ) {
            NamedObjectModel nom = new NamedObjectModel();
            nom.setIdentifier( "id-" + i + type);
            nom.setName("name-"+i + type);
            String [] params = { UUID.randomUUID().toString(), UUID.randomUUID().toString() };
            List<Object> paramList = new ArrayList<Object>();
            paramList.addAll(Arrays.asList(params));
            nom.setParameters(paramList);
            nom.setResolver(i + "-resolver" + type);
            namedObjectModelList.add(nom);
        }
        return namedObjectModelList;
    }
View Full Code Here


     
       depDesc.setAuditMode(AuditMode.JMS);
       depDesc.setAuditPersistenceUnit("per-unit");
       String [] classes = { "class" };
       depDesc.setClasses(Arrays.asList(classes));
       NamedObjectModel [] nomArr = { new NamedObjectModel("resol", "name", "class", "param-1") };
       List<NamedObjectModel> noms = Arrays.asList(nomArr);
       depDesc.setConfiguration(noms);
       depDesc.setEnvironmentEntries(noms);
       ObjectModel [] omArr = { new ObjectModel("asdf", "id", "param-1") };
       List<ObjectModel> oms = Arrays.asList(omArr);
View Full Code Here

TOP

Related Classes of org.kie.internal.runtime.conf.NamedObjectModel

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.