Package org.jpatterns.gof
Annotation Type StatePattern
-
@Retention(RUNTIME) @Target(TYPE) @Documented @DesignPattern(type=BEHAVIORAL, related={FlyweightPattern.class,SingletonPattern.class}) public @interface StatePattern
Intent [GoF, pg 305]: Allow an object to alter its behavior when its internal state changes. The object will appear to change its class.- Since:
- 2010-08-09
- Author:
- Heinz Kabutz
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
comment
java.lang.Class[]
participants
-