|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IVerbClass
The main object in a verb index
Method Summary | |
---|---|
java.util.List<IFrame> |
getFrames()
Returns the frames this verb class. |
java.lang.String |
getID()
Returns the id of the verbnet class. |
java.util.List<IMember> |
getMembers()
Returns the members of this verb class. |
IVerbClass |
getParent()
Returns the parent class of this verb class, or null if this
class is a root class. |
java.util.List<IVerbClass> |
getSubclasses()
Returns the subclasses of this verb class. |
java.util.List<IThematicRole> |
getThematicRoles()
Returns the thematic roles of this verb class. |
boolean |
isRoot()
Returns true if this verb class has no parent;
false otherwise. |
void |
setParent(IVerbClass parent)
Sets the parent of this verb class. |
Method Detail |
---|
java.lang.String getID()
null
IVerbClass getParent()
null
if this
class is a root class.
null
if this
class is a root class.void setParent(IVerbClass parent)
null
. The parent may only be set once: the method will throw
an exception if it is called a second time.
parent
- the parent of the class; may be null
, in which
case the class will be a root class
java.lang.IllegalStateException
- if the method is called a second timeboolean isRoot()
true
if this verb class has no parent;
false
otherwise.
true
if this verb class has no parent;
false
otherwise.java.util.List<IMember> getMembers()
null
or empty list.
null
, non-empty list of members of this verb
class.java.util.List<IThematicRole> getThematicRoles()
null
or empty list.
null
, non-empty list of thematic roles of this verb
class.java.util.List<IFrame> getFrames()
null
or empty list.
null
, non-empty list of frames of this verb
class.java.util.List<IVerbClass> getSubclasses()
null
list, but it may be empty. Each verb class in the
returned list will return this object via its getParent()
method.
null
list of subclasses of this verb class.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |