org.openanzo.commands
Class AskResult

java.lang.Object
  extended by org.openanzo.commands.AskResult
All Implemented Interfaces:
IResult

public class AskResult
extends java.lang.Object
implements IResult

AskResult is used as the expected precondition result from an Sparql Ask Query.

Author:
Matthew Roy ( mroy@cambridgesemantics.com )

Method Summary
static AskResult getAskResult(boolean resultValue)
          Get either the static TRUE or FALSE AskResult object
 boolean getResultValue()
          Return boolean value for this result
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAskResult

public static AskResult getAskResult(boolean resultValue)
Get either the static TRUE or FALSE AskResult object

Parameters:
resultValue - which AskResult object to get
Returns:
AskResult for resultValue

getResultValue

public boolean getResultValue()
Return boolean value for this result

Returns:
boolean value for this result


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.