Evaluating Software Design Patterns
— the "Gang of Four" patterns implemented in Java 6

dk.rode.thesis.meta
Annotation Type Pattern


@Documented
@Retention(value=RUNTIME)
@Target(value=PACKAGE)
public @interface Pattern

Annotation encompassing an entire pattern, declared within a given package

The actual usage of pattern participants are specified by the Participant annotation.

Author:
Gunni Rode / rode.dk

Required Element Summary
 String name
          The name of this pattern.
 String[] participants
          The participants in this pattern.
 Purpose purpose
          The purpose of this pattern.
 Scope[] scope
          The scope(s) of this pattern.
 

Element Detail

name

public abstract String name
The name of this pattern.


participants

public abstract String[] participants
The participants in this pattern.

See Also:
Participant

purpose

public abstract Purpose purpose
The purpose of this pattern.


scope

public abstract Scope[] scope
The scope(s) of this pattern.


Gunni Rode / rode.dk

Feel free to use and/or modify the Java 6 source code developed for this thesis AT YOUR OWN RISK, but note that the source code comes WITHOUT ANY — and I do mean WITHOUT ANY — form of warranty WHAT SO EVER!

The original thesis and source code are available at rode.dk/thesis.