|
Icodeon SCORM 2004 Sequencing Example Implementation Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.icodeon.rte.model.Id
com.icodeon.rte.model.InteractionBean
public class InteractionBean
Interactions can be thought of as a collection of information (interaction data). There are two important pieces of data that are required to be in the interaction data, an identifier (cmi.interactions.n.id) and the type of interaction (cmi.interactions.n.type). The cmi.interactions.n.type data model element is required if the Interaction includes data pertaining to either the Correct Response or Learner Response. These two pieces of information are what distinguish the interaction data from other interaction data found in the collection of interactions (considered the dependencies of the interaction data). The identifier uniquely identifies one interaction from another within the scope of the SCO. The type uniquely identifies the type of interaction (true-false, matching, etc.).
| Constructor Summary | |
|---|---|
InteractionBean()
Zero argument constructor |
|
InteractionBean(java.lang.String identifier)
Constructor with the natural primary key |
|
InteractionBean(java.lang.String identifier,
CocdBean cocd)
Constructor with the composite key |
|
| Method Summary | |
|---|---|
void |
addObjectiveId(ObjectiveIdBean objectiveId)
Convenience method implements the managed bi-directional association between InteractionBean and ObjectiveIdBean. |
CocdBean |
getCocd()
Accessor method for the foreign key. |
CorrectResponseBaseBean |
getCorrectResponse()
|
java.lang.String |
getDescription()
|
java.lang.String |
getIdentifier()
Accessor method for natural primary key. |
long |
getLatency()
|
LearnerResponseBaseBean |
getLearnerResponse()
|
java.util.List |
getObjectiveIds()
Accessor method that establishes a bi-directional association. |
java.lang.String |
getResult()
|
java.util.Calendar |
getTimestamp()
|
java.lang.String |
getType()
|
java.math.BigDecimal |
getWeighting()
|
void |
setCocd(CocdBean cocd)
Mutator method for the foreign key. |
void |
setCorrectResponse(CorrectResponseBaseBean correctResponse)
|
void |
setDescription(java.lang.String description)
|
void |
setIdentifier(java.lang.String identifier)
Mutator method for for natural primary key. |
void |
setLatency(long latency)
|
void |
setLearnerResponse(LearnerResponseBaseBean learnerResponse)
|
void |
setObjectiveIds(java.util.List objectiveIds)
Mutator method that establishes a bi-directional association. |
void |
setResult(java.lang.String result)
The cmi.interactions.n.result data model element is a judgement of the correctness of the learner response. |
void |
setTimestamp(java.util.Calendar timestamp)
|
void |
setType(java.lang.String type)
The cmi.interactions.n.type data model element indicates which type of interaction is recorded in an instance of an interaction. |
void |
setWeighting(java.math.BigDecimal weighting)
The cmi.interactions.n.weighting data model element is the weight given to the interaction that may be used by the SCO to compute a value for a score. |
| Methods inherited from class com.icodeon.rte.model.Id |
|---|
getId, setId, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InteractionBean()
public InteractionBean(java.lang.String identifier)
identifier -
public InteractionBean(java.lang.String identifier,
CocdBean cocd)
identifier - cocd - | Method Detail |
|---|
public java.lang.String getIdentifier()
public void setIdentifier(java.lang.String identifier)
cocd - public CocdBean getCocd()
public void setCocd(CocdBean cocd)
cocd - public void setObjectiveIds(java.util.List objectiveIds)
objectiveIds - public java.util.List getObjectiveIds()
public void addObjectiveId(ObjectiveIdBean objectiveId)
objectiveId - public LearnerResponseBaseBean getLearnerResponse()
public void setLearnerResponse(LearnerResponseBaseBean learnerResponse)
public void setCorrectResponse(CorrectResponseBaseBean correctResponse)
public CorrectResponseBaseBean getCorrectResponse()
public java.util.Calendar getTimestamp()
public void setTimestamp(java.util.Calendar timestamp)
public long getLatency()
public void setLatency(long latency)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.math.BigDecimal getWeighting()
public void setWeighting(java.math.BigDecimal weighting)
weighting - public java.lang.String getType()
public void setType(java.lang.String type)
type - public java.lang.String getResult()
public void setResult(java.lang.String result)
throws InvalidDataTypeException,
java.lang.NumberFormatException
result -
InvalidDataTypeException
java.lang.NumberFormatException
|
Icodeon SCORM 2004 Sequencing Example Implementation Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||