public abstract class ClassRestriction extends ClassExpression
Superclass for all ClassRestrictions.
To successfully subclass this class the
equals
methods must be overwritten. And if new fields were
introduced, the hashCode
and toString
methods,
too.
Created on 24-Mar-2005 Committed by $Author: poettler_ric $
Modifier and Type | Field and Description |
---|---|
protected PathExpression |
constrainedPath
The attribute on which the restriction should be applied.
|
variable
Constructor and Description |
---|
ClassRestriction(PathExpression att) |
Modifier and Type | Method and Description |
---|---|
PathExpression |
getRestrictionPath() |
void |
setRestrictionPath(PathExpression att) |
accept, accept, getVariable, setVariable
protected PathExpression constrainedPath
public ClassRestriction(PathExpression att)
public PathExpression getRestrictionPath()
public void setRestrictionPath(PathExpression att)
(C) INRIA & friends, 2003-2020