edu.columbia.surge.hashImpl
Class PreModH

java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--java.util.HashMap
              |
              +--edu.columbia.surge.hashImpl.FDH
                    |
                    +--edu.columbia.surge.hashImpl.PreModH

public class PreModH
extends FDH
implements PreMod

The pred-modif category. This class is also often used together within a clause together with the Clause, Proc, Partic and possibly, the Circum class. This class serves to define the predefined modifier to further describe the process of a clause. User can either use the PreModFactoryH class or directly use the constructor of this class to create instances of PreModH.

See Also:
Clause, Proc, Partic, Circum, Serialized Form

Constructor Summary
PreModH()
          Constructor which creates a default instance of PreModH.
PreModH(FD instrument)
          Constructor which takes it the instrument of a pred-modifier as parameter to compute and return an instance of PreModH.
 
Method Summary
 void setInstrument(FD instrument)
          A method to set the instrument of the pred-modif
 
Methods inherited from class edu.columbia.surge.hashImpl.FDH
checkPath, checkPath, computePathDifference, getPath, getPath, putPath, putPath, putPathOverride, putPathOverride, stackToPath, stringToArray, toString, toString, toXML
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PreModH

public PreModH()
Constructor which creates a default instance of PreModH.

PreModH

public PreModH(FD instrument)
        throws InvalidConstructorException
Constructor which takes it the instrument of a pred-modifier as parameter to compute and return an instance of PreModH. Exception will be thrown when the instrucment FD is invalid.
Parameters:
instrument - the instrument of the pred-modifier
Throws:
InvalidConstructorException -  
Method Detail

setInstrument

public void setInstrument(FD instrument)
A method to set the instrument of the pred-modif
Specified by:
setInstrument in interface PreMod
Parameters:
instrument - specified in the form of a FD