edu.princeton.wordnet.ejb
Class VnRole

java.lang.Object
  extended by edu.princeton.wordnet.ejb.VnRole

public class VnRole
extends java.lang.Object

Author:
bbou

Field Summary
 boolean isSynsetSpecific
          Whether data is specific to synset
 java.lang.String theRoleType
          Role type
 java.lang.String theSelectionRestrictions
          Role's selectional restrictions
 
Method Summary
static java.util.List<java.util.List<VnRole>> make(java.sql.Connection thisConnection, long thisWordId, long thisSynsetId)
          Make list of VerbNet roles from query buildt from wordid and synsetid
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theRoleType

public java.lang.String theRoleType
Role type


theSelectionRestrictions

public java.lang.String theSelectionRestrictions
Role's selectional restrictions


isSynsetSpecific

public boolean isSynsetSpecific
Whether data is specific to synset

Method Detail

make

public static java.util.List<java.util.List<VnRole>> make(java.sql.Connection thisConnection,
                                                          long thisWordId,
                                                          long thisSynsetId)
Make list of VerbNet roles from query buildt from wordid and synsetid

Parameters:
thisConnection - is the database connection
thisWordId - is the word id to build query from
thisSynsetId - is the synset id to build the query from (-1 if any)
Returns:
list of VerbNet roles