hok.model
Class ConstraintRow

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

public class ConstraintRow
extends java.lang.Object

An Element of the ConstraintModel that is used as the model for the TableViewer of the WizardView. 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
ConstraintRow()
           
 
Method Summary
 java.lang.String getConceptConstraint()
          Returns the value of the concept constraint the user has set.
 java.lang.String getPredicateConstraint()
          Returns the value of the predicate constraint the user has set.
 boolean isSelected()
          Returns whether a row is selected.
 void setConceptConstraint(java.lang.String conceptConstraint)
          Sets a new value of the concept constraint.
 void setPredicateConstraint(java.lang.String predicateConstraint)
          Sets a new value of the predicate constraint.
 void setSelected(boolean selected)
          Sets the selection state of the row.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstraintRow

public ConstraintRow()
Method Detail

getConceptConstraint

public java.lang.String getConceptConstraint()
Returns the value of the concept constraint the user has set.

Returns:
the string containing the value of the concept constraint.

setConceptConstraint

public void setConceptConstraint(java.lang.String conceptConstraint)
Sets a new value of the concept constraint.

Parameters:
conceptConstraint - the new value of the concept constraint to set.

getPredicateConstraint

public java.lang.String getPredicateConstraint()
Returns the value of the predicate constraint the user has set.

Returns:
the string containing the value of the predicate constraint.

setPredicateConstraint

public void setPredicateConstraint(java.lang.String predicateConstraint)
Sets a new value of the predicate constraint.

Parameters:
predicateConstraint - the new value of the concept constraint to set.

isSelected

public boolean isSelected()
Returns whether a row is selected.

Returns:
True if the row is selected by the user, false otherwise.

setSelected

public void setSelected(boolean selected)
Sets the selection state of the row.

Parameters:
selected - the boolean that indicates the selection state of the row.