|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.mit.jverbnet.data.ThematicRole
public class ThematicRole
Default implementation of the IThematicRole
interface.
Nested Class Summary | |
---|---|
static class |
ThematicRole.ThematicRoleBuilder
Default implementation of the IThematicRoleBuilder interface. |
Nested classes/interfaces inherited from interface edu.mit.jverbnet.data.IThematicRole |
---|
IThematicRole.IThematicRoleBuilder |
Constructor Summary | |
---|---|
ThematicRole(IVerbClass parent,
ThematicRoleType type,
ISelRestrictions<SemRestrType> selRestrs)
Creates a new thematic role with the specified parameters |
Method Summary | |
---|---|
ISelRestrictions<SemRestrType> |
getSelRestrictions()
Returns the selectional restrictions of this thematic role. |
ThematicRoleType |
getType()
Returns the type of this thematic role, never null . |
IVerbClass |
getVerbClass()
Returns the verb class to which this thematic role belongs |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThematicRole(IVerbClass parent, ThematicRoleType type, ISelRestrictions<SemRestrType> selRestrs)
parent
- the verb class to which this thematic role belongstype
- the type of the thematic roleselRestrs
- the selectional restrictionsMethod Detail |
---|
public IVerbClass getVerbClass()
IThematicRole
getVerbClass
in interface IThematicRole
public ThematicRoleType getType()
IThematicRole
null
.
getType
in interface IThematicRole
null
type of this thematic rolepublic ISelRestrictions<SemRestrType> getSelRestrictions()
IThematicRole
null
.
getSelRestrictions
in interface IThematicRole
null
selectional restrictions of this
thematic role
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |