Alignment API and Server 4.2.${version.update}

fr.inrialpes.exmo.align.impl.edoal
Class Transformation

java.lang.Object
  extended by 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

Field Summary
private  ValueExpression expr1
           
private  ValueExpression expr2
           
private  String type
           
 
Constructor Summary
Transformation(String type, ValueExpression ob1, ValueExpression ob2)
          Creation
 
Method Summary
 void accept(AlignmentVisitor visitor)
           
 void accept(TypeCheckingVisitor visitor)
           
 ValueExpression getObject1()
           
 ValueExpression getObject2()
           
 String getType()
           
 Transformation inverse()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

private String type

expr1

private ValueExpression expr1

expr2

private ValueExpression expr2
Constructor Detail

Transformation

public Transformation(String type,
                      ValueExpression ob1,
                      ValueExpression ob2)
               throws AlignmentException
Creation

Throws:
AlignmentException
Method Detail

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

Alignment API and Server 4.2.${version.update}

(C) INRIA & friends, 2003-${curryear}