hok.model
Class PatternElement

java.lang.Object
  extended by hok.model.PatternElement

public class PatternElement
extends java.lang.Object

An element of the PatternModel that is used as the model for the TableViewer of the ResultDialog. It is a simple JavaBean representing a row in the table and holding the values for each column of a row.

Author:
holger

Constructor Summary
PatternElement()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          A design pattern is equal another design pattern if the name of both patterns is equal.
 java.lang.String getDescription()
          Returns the description of the design pattern.
 java.lang.String getName()
          Returns the name of the design pattern.
 void setDescription(java.lang.String description)
          Sets the description of the design pattern.
 void setName(java.lang.String name)
          Sets the name of the design pattern.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternElement

public PatternElement()
Method Detail

getDescription

public java.lang.String getDescription()
Returns the description of the design pattern.

Returns:
the description of the design pattern.

setDescription

public void setDescription(java.lang.String description)
Sets the description of the design pattern.

Parameters:
description - the string describing the design pattern.

getName

public java.lang.String getName()
Returns the name of the design pattern.

Returns:
the string naming the design pattern.

setName

public void setName(java.lang.String name)
Sets the name of the design pattern.

Parameters:
name - the string naming the design pattern.

equals

public boolean equals(java.lang.Object obj)
A design pattern is equal another design pattern if the name of both patterns is equal.

Overrides:
equals in class java.lang.Object