@@ -0,0 +1,1513 @@
+/*%0A *  (c) 2012 University of Bolton%0A *  %0A *  Licensed under the Apache License, Version 2.0 (the %22License%22);%0A *  you may not use this file except in compliance with the License.%0A *  You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A *  Unless required by applicable law or agreed to in writing, software%0A *  distributed under the License is distributed on an %22AS IS%22 BASIS,%0A *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A *  See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage uk.ac.bolton.spaws.model.impl;%0A%0Aimport uk.ac.bolton.spaws.model.IReview;%0A%0A/**%0A * Review implementation%0A */%0Apublic class Review extends Rating implements IReview %7B%0A%09%0A%09public Review()%7B%0A%09%09%0A%09%7D%0A%09%0A%09public Review(String comment, int rating)%7B%0A%09%09setComment(comment);%0A%09%09setRating(rating);%0A%09%7D%0A%09%0A%09private String comment;%0A%0A%09/* (non-Javadoc)%0A%09 * @see uk.ac.bolton.spaws.model.IReview#getComment()%0A%09 */%0A%09public String getComment() %7B%0A%09%09return comment;%0A%09%7D%0A%0A%09/* (non-Javadoc)%0A%09 * @see uk.ac.bolton.spaws.model.IReview#setComment(java.lang.String)%0A%09 */%0A%09public void setComment(String comment) %7B%0A%09%09this.comment = comment;%0A%09%7D%0A%0A%09/* (non-Javadoc)%0A%09 * @see uk.ac.bolton.spaws.model.impl.Rating#getVerb()%0A%09 */%0A%09@Override%0A%09public String getVerb() %7B%0A%09%09return %22reviewed%22;%0A%09%7D%0A%0A%09/* (non-Javadoc)%0A%09 * @see uk.ac.bolton.spaws.model.impl.Rating#getContent()%0A%09 */%0A%09@Override%0A%09public String getContent() %7B%0A%09%09return comment;%0A%09%7D%09%0A%0A%7D%0A

Add Review implementation