|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.inspera.services.pedal.sequencing.LearningObject
public class LearningObject
A LearningObject is an entity used for learning, education or training.
Constructor Summary | |
---|---|
LearningObject(long id,
java.lang.String type)
Constructs a new LearningObject with specified id and type. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other LearningObject is "equal to" this one. |
long |
getId()
Getter for Id |
java.lang.String |
getLearningStyle()
Getter for learningStyle property |
java.lang.String |
getLevel()
Getter for level property |
int |
hashCode()
Returns a hash code value for the LearningObject. |
boolean |
isExample()
Checks whether this LearningObject is example. |
boolean |
isExercise()
Checks whether this LearningObject is exercise. |
boolean |
isTheory()
Checks whether this LearningObject is theory. |
void |
setId(long id)
Setter for id property |
void |
setIsExercise(java.lang.Boolean isExercise)
Setter for isExercise property |
void |
setLearningStyle(java.lang.String learningStyle)
Setter for learningStyle property |
void |
setLevel(java.lang.String level)
Setter for level property |
void |
setType(java.lang.String type)
Setter for type property |
java.lang.String |
toString()
Returns string representation of this LearningObject |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LearningObject(long id, java.lang.String type)
id
- the identifier of this LearningObject.type
- the content type of this LearningObjectMethod Detail |
---|
public void setId(long id)
id
- new id property.public void setLevel(java.lang.String level)
level
- new level propertypublic void setLearningStyle(java.lang.String learningStyle)
learningStyle
- new learningStyle propertypublic void setType(java.lang.String type)
type
- new type propertypublic long getId()
public java.lang.String getLevel()
public java.lang.String getLearningStyle()
public boolean isExample()
public boolean isTheory()
public boolean isExercise()
public void setIsExercise(java.lang.Boolean isExercise)
isExercise
- new value for isExercise propertypublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
More specifically, if two LearningObjects have the same Id identifier they are considered equal.
equals
in class java.lang.Object
obj
- the other LearningObject
public int hashCode()
hashCode
in class java.lang.Object
SequencingState
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |