001/**
002 * Copyright 2015 Tampere University of Technology, Pori Department
003 * 
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 * 
008 *   http://www.apache.org/licenses/LICENSE-2.0
009 * 
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package service.tut.pori.contentsuggest.reference;
017
018import javax.xml.bind.annotation.XmlAccessType;
019import javax.xml.bind.annotation.XmlAccessorType;
020import javax.xml.bind.annotation.XmlElement;
021import javax.xml.bind.annotation.XmlRootElement;
022
023import service.tut.pori.contentsuggest.AutoCompleteResult;
024import service.tut.pori.contentsuggest.Definitions;
025import core.tut.pori.http.ResponseData;
026
027/**
028 * Response example
029 * 
030 */
031@XmlRootElement(name=service.tut.pori.contentsuggest.reference.Definitions.ELEMENT_EXAMPLE)
032@XmlAccessorType(XmlAccessType.NONE)
033public class Example extends ResponseData {
034  @XmlElement(name=Definitions.ELEMENT_AUTOCOMPLETE_RESULTS)
035  private AutoCompleteResult _autoCompleteResult = null;
036
037  /**
038   * @return the autoCompleteResult
039   */
040  public AutoCompleteResult getAutoCompleteResult() {
041    return _autoCompleteResult;
042  }
043
044  /**
045   * @param autoCompleteResult the autoCompleteResult to set
046   */
047  public void setAutoCompleteResult(AutoCompleteResult autoCompleteResult) {
048    _autoCompleteResult = autoCompleteResult;
049  }
050}