|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractMap | +--java.util.HashMap | +--edu.columbia.surge.hashImpl.FDH | +--edu.columbia.surge.hashImpl.CircumH
The circumstance category. This is often used together with the Clause, Proc and Partic classes because the parimary usage of a circumstance is to describe the settings of the process of a clause. This class has methods to set the lexical entry which tells the circumstance and also has methods to set the characteristics of the circumstance. This is the class that implements the Circum interface and is implemented in the form of a HashMap as it is inherrited from the FDH class. This class consists of methods and constructors to set the required components of a CircumH. User can either use the CircumFactoryH class or directly use the constructor of this class to create instances of CircumH. purpose.
Clause
,
Proc
,
Partic
,
PreMod
,
CircumFactoryH
, Serialized FormConstructor Summary | |
CircumH()
Default Constructor which creates a default instance of CircumH object without any parameters. |
|
CircumH(FD behalf,
FD effect,
FD inLoc,
FD manner,
FD purpose,
FD reason,
FD time,
java.lang.String lex)
The factory method which creates an instance of CircumH object with the given entries that tell and specify the circumstance. |
|
CircumH(java.lang.String propertyName,
FD propertyBody,
java.lang.String lex)
Constructor which creates an instance of CircumH object with the given entries that tell and specify the circumstance. |
Method Summary | |
void |
setBehalf(FD behalf)
A method to set the behalf of the circumstance. |
void |
setEffect(FD effect)
A method to set the effect of the circumstance. |
void |
setInLoc(FD in_loc)
A method to set the in-loc of the circumstance. |
void |
setLex(java.lang.String lex)
A method to set the lexical entry of the circumstance. |
void |
setManner(FD manner)
A method to set the manner of the circumstance. |
void |
setPurpose(FD purpose)
A method to set the purpose of the circumstance. |
void |
setReason(FD reason)
A method to set the reason of the circumstance. |
void |
setTime(FD time)
A method to set the time of the circumstance. |
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 |
public CircumH()
public CircumH(java.lang.String propertyName, FD propertyBody, java.lang.String lex) throws InvalidConstructorException
propertyName
- the name of the circumstance propertypropertyBody
- the body of the circumstance propertylex
- the possible lexical entry of the circumstancepublic CircumH(FD behalf, FD effect, FD inLoc, FD manner, FD purpose, FD reason, FD time, java.lang.String lex) throws InvalidConstructorException
behalf
- the behalf characteristics of the circumstanceeffect
- the effect characteristics of the circumstanceinLoc
- the in-location characteristics of the
circumstancemanner
- the manner characteristics of the circumstancepurpose
- the purpose characteristics of the circumstancereason
- the reason characteristics of the circumstancetime
- the time characteristics of the circumstancelex
- the possible lexical entry of the circumstanceMethod Detail |
public void setLex(java.lang.String lex)
lex
- public void setBehalf(FD behalf)
behalf
- public void setEffect(FD effect)
effect
- public void setInLoc(FD in_loc)
in_loc
- public void setManner(FD manner)
manner
- public void setPurpose(FD purpose)
purpose
- public void setReason(FD reason)
reason
- public void setTime(FD time)
time
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |