fr.inrialpes.exmo.align.impl.edoal
Class Transformation
java.lang.Object
fr.inrialpes.exmo.align.impl.edoal.Transformation
- All Implemented Interfaces:
- Visitable
public class Transformation
- extends Object
- implements Visitable
This implements a transformation of an entity into another.
The transformation is specified usually through function and can go one way or bith ways
- Version:
- $Id: Transformation.java 1440 2010-04-24 17:44:06Z euzenat $
- Author:
- Jérôme Euzenat
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
private String type
expr1
private ValueExpression expr1
expr2
private ValueExpression expr2
Transformation
public Transformation(String type,
ValueExpression ob1,
ValueExpression ob2)
throws AlignmentException
- Creation
- Throws:
AlignmentException
accept
public void accept(AlignmentVisitor visitor)
throws AlignmentException
- Specified by:
accept
in interface Visitable
- Throws:
AlignmentException
accept
public void accept(TypeCheckingVisitor visitor)
throws AlignmentException
- Throws:
AlignmentException
getObject1
public ValueExpression getObject1()
getObject2
public ValueExpression getObject2()
getType
public String getType()
inverse
public Transformation inverse()
throws AlignmentException
- Throws:
AlignmentException
(C) INRIA & friends, 2003-${curryear}