util
Class ShallowConstraint
java.lang.Object
util.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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShallowConstraint
public ShallowConstraint(java.lang.String classname,
java.lang.String value,
java.lang.String type)
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.
© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.