Package org.jpatterns.plopd
Annotation Type NullObjectPattern
-
@Retention(RUNTIME) @Target({TYPE,FIELD,LOCAL_VARIABLE}) @Documented @DesignPattern(source=PLoPD3, type=BEHAVIORAL, related={FlyweightPattern.class,StrategyPattern.class,SingletonPattern.class}) public @interface NullObjectPattern
Intent [PLoPD3, pg 5]: A Null Object provides a surrogate for another object that shares the same interface but does nothing. Thus, the Null Object encapsulates the implementation decisions of how to do nothing and hides those details from its collaborators.- Since:
- 2010-09-01
- Author:
- Heinz Kabutz
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
comment
java.lang.Class[]
participants
-