net.sourceforge.nite.meta
Interface NCoding

All Known Implementing Classes:
NiteCoding

public interface NCoding

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 getName()
          returns the name of the coding - used in file names
 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
 

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

getName

java.lang.String getName()
returns the name of the coding - used in file names


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