|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mit.jverbnet.data.Member
public class Member
Concrete, default implementation of the IMember interface.
| Nested Class Summary | |
|---|---|
static class |
Member.MemberBuilder
Default implementation of the IMemberBuilder interface. |
| Nested classes/interfaces inherited from interface edu.mit.jverbnet.data.IMember |
|---|
IMember.IMemberBuilder |
| Constructor Summary | |
|---|---|
Member(IVerbClass verbCls,
String name,
List<IWordnetKey> keys,
List<String> groupings)
Creates a new member with the specified name, keys, and groupings. |
|
| Method Summary | |
|---|---|
List<String> |
getGroupings()
Returns a non- null, but possibly empty, list of Propbank
ids. |
String |
getName()
Returns the name of this member. |
IVerbClass |
getVerbClass()
Returns the verb class to which this member belongs |
List<IWordnetKey> |
getWordnetTypes()
Returns a non- null, but possibly empty, list of Wordnet
types. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Member(IVerbClass verbCls,
String name,
List<IWordnetKey> keys,
List<String> groupings)
null, empty
strings, or all whitespace strings.
name - the name; may not be null, empty, or all
whitespacekeys - the keys list may be null or empty, but may not
contain nullgroupings - the groupings list may not be null, and may not
contain null, empty, or all whitespace Strings
NullPointerException - if the name is null, or any list element is
null
IllegalArgumentException - if the name is empty or all whitespace, or the groupings list
contains empty or all whitespace Strings| Method Detail |
|---|
public IVerbClass getVerbClass()
IMember
getVerbClass in interface IMemberpublic String getName()
IMembernull, empty, or
all whitespace.
getName in interface IMemberpublic List<IWordnetKey> getWordnetTypes()
IMembernull, but possibly empty, list of Wordnet
types.
getWordnetTypes in interface IMembernull, but possibly empty, list of Wordnet
typespublic List<String> getGroupings()
IMembernull, but possibly empty, list of Propbank
ids.
getGroupings in interface IMembernull, but possibly empty, list of Propbank ids
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||