|
||||||||||
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.ParticH
The participant of a FD in a clause. This is used when user creates a clause and thus is used together with the Proc and Clause class. Depends on what the process is, users will only need to use the ones that they need for that particular process. However, here i try to provide all kinds of information for users to composite various kinds of participant. There are methods to set the subject and object of the participant independently, and there are also methods to set up particular subject/object pairs since for the most cases, there usually has a pair of elements in a participant of a clause. By using the "pair-methods" to setup participant also help users to reduce the risk of grouping incompatible subject/object pair. In the "pair-methods", i try to summarize in what scenarios will user need to use that particular method. However, the information that i gave there is not complete. User should always follow the spec of SURGE since there may be other different combinations. Moreover, in some cases, there will be two pair of participants in each scenario. In those cases, users can create a pair using the constructor and create another pair using one of the set methods in this class. This class is implemented in the form of a HashMap which the values within a Participant are hashed into the HashMaps. User can either use the ParticFactoryH class or directly use the constructor of this class to create instances of ParticH.
ParticFactoryH
,
Clause
,
Proc
, Serialized FormConstructor Summary | |
ParticH()
Constructor. |
|
ParticH(java.lang.String particName,
FD particBody)
Constructor. |
|
ParticH(java.lang.String subjectName,
FD subjectBody,
java.lang.String objectName,
FD objectBody)
A factory method which creates an instance of ParticH with the given names and the bodies of the participant. |
Method Summary | |
void |
setAccompaniment(FD accompaniment)
A method to set the accompaniment |
void |
setAddressee(FD addressee)
A method to set the addressee of the participant |
void |
setAffected(FD affected)
A method to set the affected of the participant |
void |
setAgent(FD agent)
A method to set the agent of the participant |
void |
setAgentAffectedPair(FD agent,
FD affected)
A method to set the agent-affected pair; this is used when we have the dispositive effect-type. |
void |
setAgentCreatedPair(FD agent,
FD created)
A method to set the agent-created pair; this is used when we have the creative effect-type. |
void |
setAgentLocationPair(FD agent,
FD location)
A method to set the agent-location pair; this method is used. |
void |
setAgentRangePair(FD agent,
FD range)
A method to set the agent-range pair; this method is used when we have the effect-type of with-range. |
void |
setAttribute(FD attribute)
A method to set the attribute of the participant |
void |
setCarrier(FD carrier)
A method to set the carrier of the participant |
void |
setCarrierAttributePair(FD carrier,
FD attribute)
A method to set the carrier-attribute pair; this is used when we have the ascriptive process type and attributive effect-type. |
void |
setCreated(FD created)
A method to set the created of the participant |
void |
setIdentified(FD identified)
A method to set the identified of the participant |
void |
setIdentifiedIdentifierPair(FD identified,
FD identifier)
A method to set the identified-identifier pair; this is used when we have the ascriptive process type and the equative effect-type. |
void |
setIdentifier(FD identifier)
A method to set the identifier of the partic |
void |
setLocated(FD located)
A method to set the located of the partic |
void |
setLocatedAccompanimentPair(FD located,
FD accompaniment)
A method to set the located-accompaniment pair; this is used when you have the locative and accompaniment type. |
void |
setLocatedLocationPair(FD located,
FD location)
A method to set the located-location pair; this is used when you have a spatial and attributive type. |
void |
setLocatedTimePair(FD located,
FD time)
A method to set the located-time pair; this is used when you have a locative and temporal type. |
void |
setLocation(FD location)
A method to set the location |
void |
setPhenomenon(FD phenom)
A method to set the phenomenon of the participant |
void |
setPossessed(FD possessed)
A method to set the possessed of the partic |
void |
setPossessor(FD possessor)
A method to set the possessor of the partic |
void |
setPossessorPossessedPair(FD possessor,
FD possessed)
A method to set the possessor-possessed pair; this is used when we have the possessive process type and attributive effect-type. |
void |
setProcessor(FD processor)
A method to set the processor of the participant |
void |
setProcessorPhenomenonPair(FD processor,
FD phenom)
A method to set the processor-phenomenon pair; this is used when we have the mental process type. |
void |
setRange(FD range)
A method to set the range of the participant |
void |
setSayer(FD sayer)
A method to set the sayer of the participant |
void |
setSayerAddresseePair(FD sayer,
FD addressee)
A method to set the sayer-addressee pair; this is used when we have the verbal process type. |
void |
setSayerVerbalizationPair(FD sayer,
FD verbalization)
A method to set the sayer-verbalization pair; this is used when we have the verbal process type. |
void |
setTime(FD time)
A method to set the time |
void |
setVerbalization(FD verbalization)
A method to set the verbalization of the participant |
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 ParticH()
public ParticH(java.lang.String particName, FD particBody) throws InvalidConstructorException
particName
- the name of the type of participantparticbody
- the specification of the participantpublic ParticH(java.lang.String subjectName, FD subjectBody, java.lang.String objectName, FD objectBody) throws InvalidConstructorException
subjectName
- the name of the type of the first participantsubjectBody
- the body specification of the first participantobjectName
- the name of the type of the other participantobjectBody
- the body specification of the other participantMethod Detail |
public void setAgent(FD agent)
agent
- the agent of the participantpublic void setRange(FD range)
range
- the range of the participantpublic void setCreated(FD created)
created
- the created of the participantpublic void setAffected(FD affected)
affected
- the affected of the participantpublic void setProcessor(FD processor)
processor
- the processor of the participantpublic void setPhenomenon(FD phenom)
phenomenon
- the phenomenon of the participantpublic void setSayer(FD sayer)
sayer
- the sayer of the participantpublic void setAddressee(FD addressee)
addressee
- the addressee of the participantpublic void setVerbalization(FD verbalization)
verbalization
- the verbalization of the participantpublic void setCarrier(FD carrier)
carrier
- the carrier of the participantpublic void setAttribute(FD attribute)
attribute
- the attribute of the participantpublic void setIdentified(FD identified)
identified
- the identified of the participantpublic void setIdentifier(FD identifier)
identifier
- the identifier of the particpublic void setPossessor(FD possessor)
possessor
- the possessor of the particpublic void setPossessed(FD possessed)
possessed
- the possessed of the particpublic void setLocated(FD located)
located
- the located of the particpublic void setAccompaniment(FD accompaniment)
accompaniment
- the accompanimentpublic void setTime(FD time)
time
- the timepublic void setLocation(FD location)
location
- the locationpublic void setAgentRangePair(FD agent, FD range)
agent
- the agentrange
- the rangepublic void setAgentLocationPair(FD agent, FD location)
agent
- the agentlocation
- the locationpublic void setAgentCreatedPair(FD agent, FD created)
agent
- the agentcreated
- the createdpublic void setAgentAffectedPair(FD agent, FD affected)
agent
- the agentaffected
- the affectedpublic void setProcessorPhenomenonPair(FD processor, FD phenom)
processor
- the processorphenomenon
- the phenomenonpublic void setSayerAddresseePair(FD sayer, FD addressee)
sayer
- the sayeraddressee
- the addresseepublic void setSayerVerbalizationPair(FD sayer, FD verbalization)
sayer
- the sayerverbalization
- the verbalizationpublic void setCarrierAttributePair(FD carrier, FD attribute)
carrier
- the carrierattribute
- the attributepublic void setIdentifiedIdentifierPair(FD identified, FD identifier)
identified
- the identifiedidentifier
- the identifierpublic void setLocatedAccompanimentPair(FD located, FD accompaniment)
located
- accompaniment
- public void setLocatedTimePair(FD located, FD time)
located
- time
- public void setLocatedLocationPair(FD located, FD location)
located
- location
- public void setPossessorPossessedPair(FD possessor, FD possessed)
possessor
- the possessorpossessed
- the possessed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |