edu.mit.jverbnet.data.syntax
Interface ISyntaxArgDesc

All Known Implementing Classes:
SyntaxArgDesc

public interface ISyntaxArgDesc

Description of a syntactic argument.

Since:
JVerbnet 1.0.0
Version:
1.0.0
Author:
Mark A. Finlayson

Method Summary
 INounPhraseType getNounPhraseType()
          If the getType() method returns SyntaxArgType.NP, this method will return a noun phrase type.
 ISelRestrictions<? extends IRestrType> getSelRestrictions()
          Returns the selectional restrictions for this argument.
 SyntaxArgType getType()
          Returns the type of the syntactic argument.
 String getValue()
          Returns the value of the syntactic argument.
 

Method Detail

getType

SyntaxArgType getType()
Returns the type of the syntactic argument. Will never be null.

Returns:
the non-null type of the syntactic argument
Since:
JVerbnet 1.0.0

getValue

String getValue()
Returns the value of the syntactic argument. May be null.

Returns:
the possibly null value of the syntactic argument
Since:
JVerbnet 1.0.0

getNounPhraseType

INounPhraseType getNounPhraseType()
If the getType() method returns SyntaxArgType.NP, this method will return a noun phrase type. Otherwise it will return null.

Returns:
null if the type of the argument is not a noun phrase; otherwise a noun phrase type
Since:
JVerbnet 1.0.0

getSelRestrictions

ISelRestrictions<? extends IRestrType> getSelRestrictions()
Returns the selectional restrictions for this argument. Will never return null.

Returns:
the selection restrictions for this argument
Since:
JVerbnet 1.0.0


Copyright © 2012 Massachusetts Institute of Technology. All Rights Reserved.