edu.mit.jverbnet.data.syntax
Interface ISyntaxArgDesc

All Known Subinterfaces:
ISyntaxArgDesc.ISyntaxArgDescBuilder
All Known Implementing Classes:
SyntaxArgDesc, SyntaxArgDesc.SyntaxArgDescBuilder

public interface ISyntaxArgDesc

Description of a syntactic argument.

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

Nested Class Summary
static interface ISyntaxArgDesc.ISyntaxArgDescBuilder
          Allows an immutable syntax argument to constructed piece by piece, and then instantiated with an argument to its parent.
 
Method Summary
 INounPhraseType getNounPhraseType()
          If the getType() method returns SyntaxArgType.NP, this method will return a noun phrase type.
 ISyntaxDesc getParent()
          Returns the parent of this argument
 ISelRestrictions<? extends IRestrType> getSelRestrictions()
          Returns the selectional restrictions for this argument.
 SyntaxArgType getType()
          Returns the type of the syntactic argument.
 java.lang.String getValue()
          Returns the value of the syntactic argument.
 

Method Detail

getParent

ISyntaxDesc getParent()
Returns the parent of this argument

Returns:
the parent of this argument, never null.
Since:
JVerbnet 1.2.0

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

java.lang.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 ${project.organization.name}. All Rights Reserved.