net.sourceforge.nite.meta
Interface NUserCoding

All Known Implementing Classes:
NiteUserCoding

public interface NUserCoding

Information about a coding performed by a user. User codings are keyed on observation / coding / agent

Author:
jonathan

Field Summary
static int CODING_CHECKED
           
static int CODING_DRAFT
           
static int CODING_FINISHED
           
static int CODING_UNSTARTED
           
 
Method Summary
 java.lang.String getAgentName()
          get the name of the agent - this refers to an NAgent
 java.lang.String getChecker()
          returns the name of the checker
 java.lang.String getCoder()
          returns the name of the coder
 java.lang.String getCodingName()
          get the name of the coding - this refers to an NCoding
 java.lang.String getDate()
          returns the date in a string form
 org.w3c.dom.Node getNode()
          Get the DOM node which represents this coding in the tree.
 int getStatus()
          one of the four ints defined here: CODING _UNSTARTED, CODING_DRAFT, CODING_FINISHED or CODING_CHECKED.
 void setChecker(java.lang.String checker)
          set the name of the checker
 void setCoder(java.lang.String coder)
          set the name of the coder
 void setDate(java.lang.String date)
          set the date
 void setNode(org.w3c.dom.Node node)
          set the DOM node which represents this coding in the tree.
 void setStatus(int status)
          set the status
 

Field Detail

CODING_UNSTARTED

static final int CODING_UNSTARTED
See Also:
Constant Field Values

CODING_DRAFT

static final int CODING_DRAFT
See Also:
Constant Field Values

CODING_FINISHED

static final int CODING_FINISHED
See Also:
Constant Field Values

CODING_CHECKED

static final int CODING_CHECKED
See Also:
Constant Field Values
Method Detail

getCodingName

java.lang.String getCodingName()
get the name of the coding - this refers to an NCoding


getAgentName

java.lang.String getAgentName()
get the name of the agent - this refers to an NAgent


getCoder

java.lang.String getCoder()
returns the name of the coder


getChecker

java.lang.String getChecker()
returns the name of the checker


getDate

java.lang.String getDate()
returns the date in a string form


getStatus

int getStatus()
one of the four ints defined here: CODING _UNSTARTED, CODING_DRAFT, CODING_FINISHED or CODING_CHECKED.


getNode

org.w3c.dom.Node getNode()
Get the DOM node which represents this coding in the tree. Only used by methods that edit the DOM.


setNode

void setNode(org.w3c.dom.Node node)
set the DOM node which represents this coding in the tree. Only used by methods that edit the DOM.


setCoder

void setCoder(java.lang.String coder)
set the name of the coder


setChecker

void setChecker(java.lang.String checker)
set the name of the checker


setDate

void setDate(java.lang.String date)
set the date


setStatus

void setStatus(int status)
set the status