talx x1.0.5

util
Class ShallowConstraint

java.lang.Object
  extended byutil.ShallowConstraint

public class ShallowConstraint
extends java.lang.Object

Used to pass constraint descriptions from the skill lattice to the tasks objects.


Constructor Summary
ShallowConstraint(java.lang.String classname, java.lang.String value, java.lang.String type)
           
 
Method Summary
 java.lang.String getClassName()
           
 java.lang.String getType()
           
 java.lang.String getValue()
           
 int getVersion()
           
 void incVersion()
          Increments the version number.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShallowConstraint

public ShallowConstraint(java.lang.String classname,
                         java.lang.String value,
                         java.lang.String type)
Method Detail

getClassName

public java.lang.String getClassName()
Returns:
the name of the constraint class.

getValue

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

getType

public java.lang.String getType()
Returns:
the type of the constraint.

incVersion

public void incVersion()
Increments the version number. The version number is Used by the Task class to deal with duplicates classes that have different values for the same task. The version number starts at zero and is incremented by one each time this method is called.


getVersion

public int getVersion()
Returns:
the version of this constraint class.

talx x1.0.5

© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.