Templates are useful for simple classes as well as links or attributes. Modules are typically used for more complicated design patterns such as GoF design patterns or Coad class patterns. This part of the Together Tutorial will focus on template patterns. At the end, we will show how to create your own class template pattern. Stub Implementations put dummy return statements in non-void operations.
Properties create attributes with getters and setters.
To apply the stub pattern, start with Choose Pattern from the operation speedmenu. Together will open a Pattern window that lists member and link patterns. The only choice for operation patterns is Stub Implementation. The editor will show the result. Give each property a get method but not a set method.