/**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.ese.ils.beta.model;
import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.service.ServiceContext;
import com.liferay.portlet.expando.model.ExpandoBridge;
import java.io.Serializable;
/**
* The base model interface for the Question service. Represents a row in the "ese_Question" database table, with each column mapped to a property of this class.
*
* <p>
* This interface and its corresponding implementation {@link com.ese.ils.beta.model.impl.QuestionModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.ese.ils.beta.model.impl.QuestionImpl}.
* </p>
*
* @author edik
* @see Question
* @see com.ese.ils.beta.model.impl.QuestionImpl
* @see com.ese.ils.beta.model.impl.QuestionModelImpl
* @generated
*/
public interface QuestionModel extends BaseModel<Question> {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. All methods that expect a question model instance should use the {@link Question} interface instead.
*/
/**
* Returns the primary key of this question.
*
* @return the primary key of this question
*/
public long getPrimaryKey();
/**
* Sets the primary key of this question.
*
* @param primaryKey the primary key of this question
*/
public void setPrimaryKey(long primaryKey);
/**
* Returns the question ID of this question.
*
* @return the question ID of this question
*/
public long getQuestionId();
/**
* Sets the question ID of this question.
*
* @param questionId the question ID of this question
*/
public void setQuestionId(long questionId);
/**
* Returns the user ID of this question.
*
* @return the user ID of this question
*/
public long getUserId();
/**
* Sets the user ID of this question.
*
* @param userId the user ID of this question
*/
public void setUserId(long userId);
/**
* Returns the user uuid of this question.
*
* @return the user uuid of this question
* @throws SystemException if a system exception occurred
*/
public String getUserUuid() throws SystemException;
/**
* Sets the user uuid of this question.
*
* @param userUuid the user uuid of this question
*/
public void setUserUuid(String userUuid);
/**
* Returns the slide ID of this question.
*
* @return the slide ID of this question
*/
public long getSlideId();
/**
* Sets the slide ID of this question.
*
* @param slideId the slide ID of this question
*/
public void setSlideId(long slideId);
/**
* Returns the module ID of this question.
*
* @return the module ID of this question
*/
public long getModuleId();
/**
* Sets the module ID of this question.
*
* @param moduleId the module ID of this question
*/
public void setModuleId(long moduleId);
/**
* Returns the answer of this question.
*
* @return the answer of this question
*/
@AutoEscape
public String getAnswer();
/**
* Sets the answer of this question.
*
* @param answer the answer of this question
*/
public void setAnswer(String answer);
/**
* Returns the question text of this question.
*
* @return the question text of this question
*/
@AutoEscape
public String getQuestionText();
/**
* Sets the question text of this question.
*
* @param questionText the question text of this question
*/
public void setQuestionText(String questionText);
public boolean isNew();
public void setNew(boolean n);
public boolean isCachedModel();
public void setCachedModel(boolean cachedModel);
public boolean isEscapedModel();
public Serializable getPrimaryKeyObj();
public void setPrimaryKeyObj(Serializable primaryKeyObj);
public ExpandoBridge getExpandoBridge();
public void setExpandoBridgeAttributes(ServiceContext serviceContext);
public Object clone();
public int compareTo(Question question);
public int hashCode();
public CacheModel<Question> toCacheModel();
public Question toEscapedModel();
public String toString();
public String toXmlString();
}