net.sourceforge.nite.meta
Interface NCoding

All Superinterfaces:
NFile
All Known Subinterfaces:
NCorpusResourceCoding
All Known Implementing Classes:
NiteCoding, NiteCorpusResourceCoding

public interface NCoding
extends NFile

Information about a coding file.

Author:
jonathan

Field Summary
static int AGENT_CODING
           
static int INTERACTION_CODING
           
 
Method Summary
 NLayer getBottomLayer()
          returns the bottom layer in the coding
 java.util.List getLayers()
          Returns a List of "NLayer"s belonging to this coding, in arbitrary order
 java.lang.String getPath()
          returns the directory path of the coding - defaults to the path on the 'codings' element
 NLayer getTopLayer()
          returns the top layer in the coding
 int getType()
          returns either INTERACTION_CODING or AGENT_CODING
 void setPath(java.lang.String path)
          sets the directory path of the coding - if relative, then it'll be relative to the metadata
 
Methods inherited from interface net.sourceforge.nite.meta.NFile
getFileName, getName
 

Field Detail

INTERACTION_CODING

static final int INTERACTION_CODING
See Also:
Constant Field Values

AGENT_CODING

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

getPath

java.lang.String getPath()
returns the directory path of the coding - defaults to the path on the 'codings' element


setPath

void setPath(java.lang.String path)
sets the directory path of the coding - if relative, then it'll be relative to the metadata


getType

int getType()
returns either INTERACTION_CODING or AGENT_CODING


getTopLayer

NLayer getTopLayer()
returns the top layer in the coding


getBottomLayer

NLayer getBottomLayer()
returns the bottom layer in the coding


getLayers

java.util.List getLayers()
Returns a List of "NLayer"s belonging to this coding, in arbitrary order