|
||||||||||
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 null
groupings
- 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 StringsMethod Detail |
---|
public IVerbClass getVerbClass()
IMember
getVerbClass
in interface IMember
public java.lang.String getName()
IMember
null
, empty, or
all whitespace.
getName
in interface IMember
public java.util.Map<IWordnetKey,java.lang.Boolean> getWordnetTypes()
IMember
null
, 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 IMember
null
, but possibly empty, map of Wordnet types
to question mark prefixespublic java.util.List<java.lang.String> getGroupings()
IMember
null
, but possibly empty, list of Propbank
ids.
getGroupings
in interface IMember
null
, but possibly empty, list of Propbank ids
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |