talx x1.0.5

util
Class SkillAlias

java.lang.Object
  extended byutil.Skill
      extended byutil.SkillAlias
All Implemented Interfaces:
SkillLatticeConstants

public class SkillAlias
extends Skill

A skill that simply wraps another skill.


Field Summary
 
Fields inherited from interface util.SkillLatticeConstants
ALIAS_ELEMENT, ALIAS_ID_ATTR, ALIAS_SKILL_ATTR, CONSTRAINT_ELEMENT, CONSTRAINT_FINAL_TOKEN, CONSTRAINT_NAME_ATTR, CONSTRAINT_ONGOING_TOKEN, CONSTRAINT_PARAM_ATTR, CONSTRAINT_STARTUP_TOKEN, CONSTRAINT_TYPE_ATTR, DESCRIPTION_ELEMENT, DRILL__RIGHT_PTR_ATTR, DRILL_CRITERIA_ATTR, DRILL_ELEMENT, DRILL_LIMIT_ATTR, DRILL_LIMIT_PTR_ATTR, DRILL_MAX_RETRIES_ATTR, DRILL_SKIPPABLE_ATTR, DRILL_WRONG_PTR_ATTR, MASTERY_CORRECT_TOKEN, MASTERY_INCORRECT_TOKEN, MASTERY_INITIAL_TOKEN, MASTERY_ONCE_TOKEN, MASTERY_OUTOF_REGEX, MASTERY_OUTOF_TOKEN, MASTERY_SEPARATOR_TOKEN, PAUSE_ELEMENT, PAUSE_LEVEL_ATTR, PAUSE_NEXT_PTR_ATTR, ROOT_ELEMENT, SKILL_BASE_DRILL_ATTR, SKILL_ELEMENT, SKILL_ID_ATTR, SKILL_PREREQUISITE_ATTR, SKILL_REFRESH_CRITERIA_ATTR, SKILL_REVIEW_CRITERIA_ATTR, STATUS_ATTEMPTED_TOKEN, STATUS_DATE_FORMAT, STATUS_IRRELEVANT_TOKEN, STATUS_LIMIT_COUNT_FORMAT, STATUS_MASTERED_TOKEN, STATUS_NEVER_ATTEMPTED_TOKEN, STATUS_REVIEWED_FAILED_TOKEN, STATUS_REVIEWED_PASSED_TOKEN, TASK_COMPONENT_ATTR, TASK_ELEMENT, TASK_TYPE_ATTR
 
Constructor Summary
SkillAlias(java.lang.String id, Skill s)
           
 
Method Summary
 java.util.Date getDate()
          Returns the date of this Skill.
 java.lang.String getDescription()
          Returns the description of this Skill.
 Drill getDrill()
          Returns the drill that this Skill starts with.
 java.lang.String[] getPrerequisits()
          Returns the prereqs of this Skill.
 java.lang.String getRefreshCriteria()
          Returns the refresh criteria of this Skill.
 java.lang.String getReviewCriteria()
          Returns the review criteria of this Skill.
 Task getReviewTask()
          Returns the current task to do for this Skill (when reviewing/refreshing).
 java.lang.String getStatus()
          Returns the status of this Skill.
 void setDate(java.util.Date d)
          Sets the Status of this Skill.
 void setDescription(java.lang.String d)
          Sets the description of this Skill.
 void setStatus(Drill d)
          Sets the Status of this Skill.
 void setStatus(java.lang.String status)
          Sets the Status of this Skill.
 void setStatus(java.lang.String status, java.util.Date d)
          Sets the Status of this Skill.
 
Methods inherited from class util.Skill
getId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SkillAlias

public SkillAlias(java.lang.String id,
                  Skill s)
Method Detail

getPrerequisits

public java.lang.String[] getPrerequisits()
Description copied from class: Skill
Returns the prereqs of this Skill.

Overrides:
getPrerequisits in class Skill
Returns:
String[] prereqs.

getStatus

public java.lang.String getStatus()
Description copied from class: Skill
Returns the status of this Skill.

Overrides:
getStatus in class Skill
Returns:
String status.

getDate

public java.util.Date getDate()
Description copied from class: Skill
Returns the date of this Skill.

Overrides:
getDate in class Skill
Returns:
Date date.

getRefreshCriteria

public java.lang.String getRefreshCriteria()
Description copied from class: Skill
Returns the refresh criteria of this Skill.

Overrides:
getRefreshCriteria in class Skill
Returns:
String refresh criteria.

getReviewCriteria

public java.lang.String getReviewCriteria()
Description copied from class: Skill
Returns the review criteria of this Skill.

Overrides:
getReviewCriteria in class Skill
Returns:
String review criteria.

getDescription

public java.lang.String getDescription()
Description copied from class: Skill
Returns the description of this Skill.

Overrides:
getDescription in class Skill
Returns:
String description.

getDrill

public Drill getDrill()
Description copied from class: Skill
Returns the drill that this Skill starts with.

Overrides:
getDrill in class Skill
Returns:
Drill start drill.

getReviewTask

public Task getReviewTask()
Description copied from class: Skill
Returns the current task to do for this Skill (when reviewing/refreshing).

Overrides:
getReviewTask in class Skill
Returns:
Task current task.

setDescription

public void setDescription(java.lang.String d)
Description copied from class: Skill
Sets the description of this Skill. This method should only be called upon creation of the skill.

Overrides:
setDescription in class Skill
Parameters:
d - description.

setStatus

public void setStatus(java.lang.String status,
                      java.util.Date d)
Description copied from class: Skill
Sets the Status of this Skill. And writes out the status to the status file.

Overrides:
setStatus in class Skill
Parameters:
status - status.
d - date.

setDate

public void setDate(java.util.Date d)
Description copied from class: Skill
Sets the Status of this Skill. And writes out the status to the status file.

Overrides:
setDate in class Skill
Parameters:
d - date.

setStatus

public void setStatus(java.lang.String status)
Description copied from class: Skill
Sets the Status of this Skill. And writes out the status to the status file.

Overrides:
setStatus in class Skill
Parameters:
status - status.

setStatus

public void setStatus(Drill d)
Description copied from class: Skill
Sets the Status of this Skill. And writes out the status to the status file.

Overrides:
setStatus in class Skill
Parameters:
d - drill.

talx x1.0.5

© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.