Package org.guvnor.common.services.project.model

Examples of org.guvnor.common.services.project.model.WorkItemHandlerModel


    public WorkItemHandlerConverter() {
        super(WorkItemHandlerModel.class);
    }

    public void marshal(Object value, HierarchicalStreamWriter writer, MarshallingContext context) {
        WorkItemHandlerModel wih = (WorkItemHandlerModel) value;
        writer.addAttribute("type", wih.getType());
        writer.addAttribute("name", wih.getName());
    }
View Full Code Here


        writer.addAttribute("type", wih.getType());
        writer.addAttribute("name", wih.getName());
    }

    public Object unmarshal(HierarchicalStreamReader reader, final UnmarshallingContext context) {
        final WorkItemHandlerModel wih = new WorkItemHandlerModel();
        wih.setType(reader.getAttribute("type"));
        wih.setName(reader.getAttribute("name"));

        return wih;
    }
View Full Code Here

TOP

Related Classes of org.guvnor.common.services.project.model.WorkItemHandlerModel

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.