edu.mit.jverbnet.data
Class ThematicRole

java.lang.Object
  extended by edu.mit.jverbnet.data.ThematicRole
All Implemented Interfaces:
IThematicRole

public class ThematicRole
extends java.lang.Object
implements IThematicRole

Default implementation of the IThematicRole interface.

Since:
JVerbnet 1.0.0
Version:
1.2.0
Author:
Mark A. Finlayson

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

ThematicRole

public ThematicRole(IVerbClass parent,
                    ThematicRoleType type,
                    ISelRestrictions<SemRestrType> selRestrs)
Creates a new thematic role with the specified parameters

Parameters:
parent - the verb class to which this thematic role belongs
type - the type of the thematic role
selRestrs - the selectional restrictions
Since:
JVerbnet 1.0.0
Method Detail

getVerbClass

public IVerbClass getVerbClass()
Description copied from interface: IThematicRole
Returns the verb class to which this thematic role belongs

Specified by:
getVerbClass in interface IThematicRole
Returns:
the verb class to which this thematic role belongs

getType

public ThematicRoleType getType()
Description copied from interface: IThematicRole
Returns the type of this thematic role, never null.

Specified by:
getType in interface IThematicRole
Returns:
the non-null type of this thematic role

getSelRestrictions

public ISelRestrictions<SemRestrType> getSelRestrictions()
Description copied from interface: IThematicRole
Returns the selectional restrictions of this thematic role. Will never be null.

Specified by:
getSelRestrictions in interface IThematicRole
Returns:
the non-null selectional restrictions of this thematic role


Copyright © 2012 ${project.organization.name}. All Rights Reserved.