org.shiwa.fgi.iwir
Class Constraint

java.lang.Object
  extended by org.shiwa.fgi.iwir.Constraint

public class Constraint
extends java.lang.Object

The Class Constraint provides additional information for the workflow.


Constructor Summary
Constraint(java.lang.String name, java.lang.String value)
          Instantiates a new constraint.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
          Gets the name of the constraint.
 java.lang.String getValue()
          Gets the value of the constraint.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Constraint

public Constraint(java.lang.String name,
                  java.lang.String value)
Instantiates a new constraint.

Parameters:
name - the name of the constraint
value - the value of the constraint
Method Detail

getName

public java.lang.String getName()
Gets the name of the constraint.

Returns:
the name of the constraint

getValue

public java.lang.String getValue()
Gets the value of the constraint.

Returns:
the value of the constraint

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object