T
- public abstract class AbstractConstraint<T> extends java.lang.Object implements AnyConstraint<T>
AnyConstraint.getErrorCode()
.
Subclasses should set their own id by calling
AbstractConstraint(int)
.
Modifier and Type | Field and Description |
---|---|
private int |
errorCode |
Modifier | Constructor and Description |
---|---|
protected |
AbstractConstraint(int errorCode) |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Returns the error code from this constraints.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
check
public int getErrorCode()
AnyConstraint
getErrorCode
in interface AnyConstraint<T>