Package org.apache.wink.example.qadefect.legacy

Examples of org.apache.wink.example.qadefect.legacy.DefectBean


    @DELETE
    @Produces( {MediaType.APPLICATION_ATOM_XML, MediaType.APPLICATION_JSON,
        MediaType.APPLICATION_XML})
    public DefectAsset deleteDefect(@PathParam("defect") String defectId) {
        DataStore store = DataStore.getInstance();
        DefectBean defect = store.getDefect(defectId);
        store.removeDefect(defectId);
        return new DefectAsset(defect);
    }
View Full Code Here


                && row[2].equals("Severity")
                && row[3].equals("Status")
                && row[4].equals("Author")) {
                continue;
            }
            DefectBean defect = new DefectBean();
            defect.setId(row[0]);
            defect.setName(row[1]);
            defect.setSeverity(row[2]);
            defect.setStatus(row[3]);
            defect.setAuthor(row[4]);
            defects.add(defect);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.wink.example.qadefect.legacy.DefectBean

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.