fr.inrialpes.exmo.align.impl.edoal
Class Expression
java.lang.Object
fr.inrialpes.exmo.align.impl.edoal.Expression
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- ClassExpression, InstanceExpression, PathExpression
public abstract class Expression
- extends Object
- implements Cloneable
This class serves as the base for the four different expression types. These
types are namely AttributeExpression
,
ClassExpression
, RelationExpression
and
InstanceExpression
The only fields stored in this class is the ExpressionDefinition
of this Expression and the set of condition associated with this expression.
To successfully subclass this class overwrite the equals
and
clone
methods. If new fields are introduced the
toString
and hashCode
methods must be
overwritten, too.
Created on 23-Mar-2005 Committed by $Author: adrianmocan $
- Version:
- $Id: Expression.java 1710 2012-03-23 19:53:25Z euzenat $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
variable
protected Variable variable
Expression
protected Expression()
accept
public abstract void accept(EDOALVisitor visitor)
throws AlignmentException
- Throws:
AlignmentException
accept
public abstract TypeCheckingVisitor.TYPE accept(TypeCheckingVisitor visitor)
throws AlignmentException
- Throws:
AlignmentException
getVariable
public Variable getVariable()
setVariable
public void setVariable(Variable v)
(C) INRIA & friends, 2003-2013