|
Evaluating Software Design Patterns — the "Gang of Four" patterns implemented in Java 6 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@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.
| 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 |
|---|
public abstract String name
public abstract String[] participants
Participantpublic abstract Purpose purpose
public abstract Scope[] scope
|
Gunni Rode / rode.dk | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||