|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.mit.jverbnet.data.ThematicRole.ThematicRoleBuilder
public static class ThematicRole.ThematicRoleBuilder
Default implementation of the IThematicRoleBuilder interface.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface edu.mit.jverbnet.data.IThematicRole |
---|
IThematicRole.IThematicRoleBuilder |
Constructor Summary | |
---|---|
ThematicRole.ThematicRoleBuilder()
|
Method Summary | |
---|---|
ThematicRole |
create(IVerbClass parent)
Creates a thematic role from the information contained in the builder. |
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 |
void |
setSelRestrictions(ISelRestrictions<SemRestrType> selRestrs)
Sets the selectional restrictions for this thematic role |
void |
setType(ThematicRoleType type)
Sets the type for this thematic role. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThematicRole.ThematicRoleBuilder()
Method 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 rolepublic void setType(ThematicRoleType type)
IThematicRole.IThematicRoleBuilder
setType
in interface IThematicRole.IThematicRoleBuilder
type
- the type for this thematic rolepublic void setSelRestrictions(ISelRestrictions<SemRestrType> selRestrs)
IThematicRole.IThematicRoleBuilder
setSelRestrictions
in interface IThematicRole.IThematicRoleBuilder
selRestrs
- the selectional restrictions for this thematic rolepublic ThematicRole create(IVerbClass parent)
IThematicRole.IThematicRoleBuilder
create
in interface IThematicRole.IThematicRoleBuilder
parent
- the parent of the thematic role
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |