clarion.nacs
Class EMChunk

java.lang.Object
  extended byclarion.common.Chunk
      extended byclarion.nacs.EMChunk
All Implemented Interfaces:
java.lang.Cloneable

public class EMChunk
extends Chunk


Field Summary
 
Fields inherited from class clarion.common.Chunk
BLA, c, chunkBlaOption, chunkLabel, chunkType, d, featList, global, iBLA, MAX_USAGE_NUM, strength, usageNum, usageRecords
 
Constructor Summary
EMChunk(Chunk chunk, long time, Global g)
          constructor for simple item.
EMChunk(int type, java.lang.String label, Chunk[] chunks, long time, Global g)
          constructor for combined item.
 
Method Summary
 long getTimeStamp()
          Returns the time stamp.
 void setTimeStamp(long time)
          Sets the time stamp.
 
Methods inherited from class clarion.common.Chunk
append, calcBLA, clone, equals, getBLA, getBlaOption, getChunkType, getContent, getContent, getDimNum, getFeature, getFeatureNum, getFeatures, getFeatures, getLabel, getLength, getStrength, getUsageNum, getUsageRecords, getUsageRecords, hashCode, increaseUsage, isEqual, reinit, resetUsage, searchFeature, setBLA_C, setBLA_D, setBLA_INIT, setBla, setBlaOption, setBlaParams, setLabel, setStrength, setUsageNum, setUsageRecords, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EMChunk

public EMChunk(Chunk chunk,
               long time,
               Global g)
constructor for simple item.

Parameters:
chunk - the chunk to compose this item.
time - time stamp.
g - the global settings.

EMChunk

public EMChunk(int type,
               java.lang.String label,
               Chunk[] chunks,
               long time,
               Global g)
constructor for combined item.

Parameters:
type - chunk type.
label - chunk label.
chunks - chunks to compose this item.
time - time stamp.
g - the global settings.
Method Detail

getTimeStamp

public long getTimeStamp()
Returns the time stamp.

Returns:
the time stamp.

setTimeStamp

public void setTimeStamp(long time)
Sets the time stamp.

Parameters:
time - the time stamp to set.