|
||||||||||
| 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,
java.lang.String name,
java.util.Map<IWordnetKey,java.lang.Boolean> keys,
java.util.List<java.lang.String> groupings)
Creates a new member with the specified name, keys, and groupings. |
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getGroupings()
Returns a non- null, but possibly empty, list of Propbank
ids. |
java.lang.String |
getName()
Returns the name of this member. |
IVerbClass |
getVerbClass()
Returns the verb class to which this member belongs |
java.util.Map<IWordnetKey,java.lang.Boolean> |
getWordnetTypes()
Returns a non- null, but possibly empty, map 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,
java.lang.String name,
java.util.Map<IWordnetKey,java.lang.Boolean> keys,
java.util.List<java.lang.String> groupings)
null, empty
strings, or all whitespace strings.
name - the name; may not be null, empty, or all
whitespacekeys - the keys map 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
java.lang.NullPointerException - if the name is null, or any list element is
null
java.lang.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 java.lang.String getName()
IMembernull, empty, or
all whitespace.
getName in interface IMemberpublic java.util.Map<IWordnetKey,java.lang.Boolean> getWordnetTypes()
IMembernull, but possibly empty, map of Wordnet
types. Each wordnet type is mapped to a boolean which indicates if the
wordnet key is prefixed with a question mark, '?'.
getWordnetTypes in interface IMembernull, but possibly empty, map of Wordnet types
to question mark prefixespublic java.util.List<java.lang.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 | |||||||||