org.perfectjpattern.core.api.behavioral.command
Class NullResult

java.lang.Object
  extended by org.perfectjpattern.core.api.behavioral.command.NullResult
All Implemented Interfaces:
ISingleton

public final class NullResult
extends Object
implements ISingleton

Null Object Pattern implementation of Command Result. Prevents different Receiver implementations from pushing null back into the Command's result value.

NullResult is a Singleton therefore it can not be directly instantiated, neither it may be extended.

Version:
$Revision: 1.0 $ $Date: Jun 19, 2007 10:17:38 PM $
Author:
Giovanni Azua
 

Method Summary
static NullResult getInstance()
          Returns Singleton instance of NullResult.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static NullResult getInstance()
Returns Singleton instance of NullResult.

Returns:
Singleton instance of NullResult.


Copyright © 2007-2009. All Rights Reserved.