@Entity
public class Card
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
INFINITE_YEARS |
| Modifier | Constructor and Description |
|---|---|
protected |
Card()
Deprecated.
hibernate only
|
|
Card(SpacedRepetition repetition,
java.lang.Long studentId) |
| Modifier and Type | Method and Description |
|---|---|
CardAnswer |
answer(Difficulty difficulty,
org.joda.time.DateTime lastCardFromToday,
AnswerKind answerKind) |
LastAnswerResult |
getLastAnswerResult() |
org.joda.time.DateTime |
getNextDisplayDate() |
java.lang.Long |
getRepetitionId() |
CardState |
getState() |
java.lang.Long |
getStudentId() |
boolean |
isRemoved() |
long |
nextIntervalInMinutes(Difficulty difficulty) |
public static final int INFINITE_YEARS
public Card(SpacedRepetition repetition, java.lang.Long studentId)
protected Card()
public long nextIntervalInMinutes(Difficulty difficulty)
public CardAnswer answer(Difficulty difficulty, org.joda.time.DateTime lastCardFromToday, AnswerKind answerKind)
public CardState getState()
public LastAnswerResult getLastAnswerResult()
public boolean isRemoved()
public org.joda.time.DateTime getNextDisplayDate()
public java.lang.Long getStudentId()
public java.lang.Long getRepetitionId()
Copyright © 2018. All Rights Reserved.