|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NObservation
Information about an Observation. This may be expanded in the future when we wish to allow editing of metadata.
Method Summary | |
---|---|
void |
addUserCoding(NUserCoding coding)
Add a user coding to the corpus. |
NUserCoding |
findCoding(java.lang.String codingname,
java.lang.String agentname)
find a user coding for this observation that has coding and agent matching. |
java.lang.String |
getDescription()
returns a description of the observation. |
org.w3c.dom.Node |
getNode()
Get the DOM node which represents this observation in the tree. |
java.lang.String |
getShortName()
The identifier for this observation as used in filenames etc. |
java.util.List |
getUserCodings()
returns a list of user codings (see NUserCoding). |
java.lang.String |
getVariable(java.lang.String variable)
return the value of the observation variable for the given variable name |
java.util.List |
getVariables()
returns a list of strings: these are the values of the observation variables in the same order as you get the declarations from the getObservationVariables call from the metadata. |
void |
setDocument(org.w3c.dom.Document document)
set the DOM document of which this observation is a part Only used by methods that edit the DOM. |
void |
setNode(org.w3c.dom.Node node)
set the DOM node which represents this observation in the tree. |
Method Detail |
---|
java.lang.String getShortName()
java.lang.String getDescription()
java.util.List getVariables()
java.lang.String getVariable(java.lang.String variable)
java.util.List getUserCodings()
NUserCoding findCoding(java.lang.String codingname, java.lang.String agentname)
void addUserCoding(NUserCoding coding)
org.w3c.dom.Node getNode()
void setNode(org.w3c.dom.Node node)
void setDocument(org.w3c.dom.Document document)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |