From 91181f59911b42902391f13d78e696a142452234 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Euzenat?= <Jerome.Euzenat@inria.fr>
Date: Sat, 24 Apr 2010 17:38:45 +0000
Subject: [PATCH] - Fixed javadoc errors

---
 .../exmo/align/impl/edoal/Apply.java          | 14 +++++------
 .../impl/edoal/ClassDomainRestriction.java    |  8 +++---
 .../impl/edoal/ClassOccurenceRestriction.java | 12 +++++----
 .../impl/edoal/ClassTypeRestriction.java      | 10 ++++----
 .../impl/edoal/ClassValueRestriction.java     | 12 +++++----
 .../exmo/align/impl/edoal/EDOALCell.java      | 25 +++++++++++++++++--
 .../align/impl/edoal/InstanceExpression.java  |  7 +-----
 .../exmo/align/impl/edoal/InstanceId.java     |  8 +++---
 .../exmo/align/impl/edoal/PathExpression.java |  7 +++++-
 .../impl/edoal/PropertyDomainRestriction.java | 13 +++-------
 .../align/impl/edoal/PropertyExpression.java  | 20 ++-------------
 .../exmo/align/impl/edoal/PropertyId.java     |  1 -
 .../impl/edoal/PropertyTypeRestriction.java   | 21 +++++-----------
 .../impl/edoal/PropertyValueRestriction.java  | 18 ++++++-------
 .../edoal/RelationCoDomainRestriction.java    | 17 +++++--------
 .../impl/edoal/RelationDomainRestriction.java | 15 ++++-------
 .../exmo/align/impl/edoal/Value.java          |  1 -
 .../exmo/align/impl/edoal/Variable.java       |  6 ++---
 18 files changed, 98 insertions(+), 117 deletions(-)

diff --git a/src/fr/inrialpes/exmo/align/impl/edoal/Apply.java b/src/fr/inrialpes/exmo/align/impl/edoal/Apply.java
index be2e2c02..0b49ed15 100644
--- a/src/fr/inrialpes/exmo/align/impl/edoal/Apply.java
+++ b/src/fr/inrialpes/exmo/align/impl/edoal/Apply.java
@@ -32,16 +32,18 @@ import fr.inrialpes.exmo.align.parser.TypeCheckingVisitor;
 
 /**
  * <p>
- * Id to represent a simple valuestring.
+ * Apply is the application of a function to arguments.
+ * </p>
+ * <p>
+ * In the specification a {@code op} is a local transformaion
+ * function/service. The {@code args} specifies the parameters needed for the
+ * function to compute the transformaion.
  * </p>
  * <p>
  * $Id$
  * </p>
- * 
- * @author richi
- * @version $Revision: 1.2 $
- * @date $Date: 2010-03-07 20:40:05 +0100 (Sun, 07 Mar 2010) $
  */
+
 public class Apply implements ValueExpression {
 
     /** Holds the operation to apply */
@@ -58,8 +60,6 @@ public class Apply implements ValueExpression {
      *            its list of argumenst
      * @throws NullPointerException
      *             if the value is {@code null}
-     * @throws IllegalArgumentException
-     *             if the value isn't longer than 0
      */
     public Apply( final URI op, final List<ValueExpression> args ) {
 	if ( op == null) {
diff --git a/src/fr/inrialpes/exmo/align/impl/edoal/ClassDomainRestriction.java b/src/fr/inrialpes/exmo/align/impl/edoal/ClassDomainRestriction.java
index 7b697c26..1ed5f92d 100644
--- a/src/fr/inrialpes/exmo/align/impl/edoal/ClassDomainRestriction.java
+++ b/src/fr/inrialpes/exmo/align/impl/edoal/ClassDomainRestriction.java
@@ -29,10 +29,10 @@ public class ClassDomainRestriction extends ClassRestriction implements Cloneabl
     /**
      * Constructs a typeCondition with the given restriction.
      * 
-     * @param res
-     *            the restriction for the domain
-     * @param target
-     *            the target expression which should be restricted
+     * @param p
+     *            the PathExpression to which the restriction applies
+     * @param cl
+     *            the ClassExpression restricting the domain
      * @throws NullPointerException
      *             if the restriction is null
      */
diff --git a/src/fr/inrialpes/exmo/align/impl/edoal/ClassOccurenceRestriction.java b/src/fr/inrialpes/exmo/align/impl/edoal/ClassOccurenceRestriction.java
index a8221823..a5dabd9c 100644
--- a/src/fr/inrialpes/exmo/align/impl/edoal/ClassOccurenceRestriction.java
+++ b/src/fr/inrialpes/exmo/align/impl/edoal/ClassOccurenceRestriction.java
@@ -45,12 +45,14 @@ public class ClassOccurenceRestriction extends ClassRestriction implements Clone
     int occurence = 1;
 
     /**
-     * Constructs a attributeOccurenceRestriction with the given restriction.
+     * Constructs a ClassOccurenceRestriction with the given restriction.
      * 
-     * @param attribute
-     *            the attribute on which the restriction should be applied
-     * @param restriction
-     *            the restriction for the domain
+     * @param p
+     *            the constrained PathExpression
+     * @param c
+     *            the restriction Comparator
+     * @param n
+     *            the number of occurence compared
      * @throws NullPointerException
      *             if the restriction is null
      */
diff --git a/src/fr/inrialpes/exmo/align/impl/edoal/ClassTypeRestriction.java b/src/fr/inrialpes/exmo/align/impl/edoal/ClassTypeRestriction.java
index b0608833..b8159167 100644
--- a/src/fr/inrialpes/exmo/align/impl/edoal/ClassTypeRestriction.java
+++ b/src/fr/inrialpes/exmo/align/impl/edoal/ClassTypeRestriction.java
@@ -43,12 +43,12 @@ public class ClassTypeRestriction extends ClassRestriction implements Cloneable
     Datatype type = null;
 
     /**
-     * Constructs a typeCondition with the given restriction.
+     * Constructs a ClassTypeRestriction with the given restriction.
      * 
-     * @param res
-     *            the restriction for the domain
-     * @param target
-     *            the target expression which should be restricted
+     * @param p
+     *            the restricted PathExpression
+     * @param t
+     *            the Datatype to which this path is restricted
      * @throws NullPointerException
      *             if the restriction is null
      */
diff --git a/src/fr/inrialpes/exmo/align/impl/edoal/ClassValueRestriction.java b/src/fr/inrialpes/exmo/align/impl/edoal/ClassValueRestriction.java
index bdf7c567..8210d13b 100644
--- a/src/fr/inrialpes/exmo/align/impl/edoal/ClassValueRestriction.java
+++ b/src/fr/inrialpes/exmo/align/impl/edoal/ClassValueRestriction.java
@@ -42,12 +42,14 @@ public class ClassValueRestriction extends ClassRestriction implements Cloneable
     ValueExpression value = null;
 
     /**
-     * Constructs a valueCondition with the given restriction.
+     * Constructs a ClassValueRestriction with the given restriction.
      * 
-     * @param res
-     *            the restriction for the domain
-     * @param target
-     *            the target expression which should be restricted
+     * @param p
+     *            the restricted PathExpression
+     * @param comp
+     *            the Comparator defining the restriction
+     * @param v
+     *            the ValueExpression to which it is restricted
      * @throws NullPointerException
      *             if the restriction is null
      */
diff --git a/src/fr/inrialpes/exmo/align/impl/edoal/EDOALCell.java b/src/fr/inrialpes/exmo/align/impl/edoal/EDOALCell.java
index 29a61cdf..30e7653f 100644
--- a/src/fr/inrialpes/exmo/align/impl/edoal/EDOALCell.java
+++ b/src/fr/inrialpes/exmo/align/impl/edoal/EDOALCell.java
@@ -25,6 +25,8 @@ package fr.inrialpes.exmo.align.impl.edoal;
 import java.io.PrintStream;
 import java.io.IOException;
 import java.util.Comparator;
+import java.util.Set;
+import java.util.HashSet;
 import java.lang.ClassNotFoundException;
 import java.lang.Float;
 import java.lang.Double;
@@ -68,9 +70,10 @@ import fr.inrialpes.exmo.align.parser.TypeCheckingVisitor;
 
 public class EDOALCell extends BasicCell {
 
-    // JE2009: This has been added for 
     private URI id; // This is the id
 
+    private Set<Transformation> transformations;
+
     public void accept( AlignmentVisitor visitor) throws AlignmentException {
         visitor.visit( this );
     }
@@ -95,9 +98,27 @@ public class EDOALCell extends BasicCell {
 	//throw new AlignmentException( "Cannot convert to URI "+object2 );
     }
 
+    public void addTransformation( Transformation trs ){
+	if ( transformations == null ) {
+	    transformations = new HashSet<Transformation>();
+	}
+	transformations.add( trs );
+    }
+
+    /**
+     * May be null
+     */
+    public Set<Transformation> transformations() {
+	return transformations;
+    }
+
     public Cell inverse() throws AlignmentException {
-	return (Cell)new EDOALCell( (String)null, (Expression)object2, (Expression)object1, (EDOALRelation)relation.inverse(), strength );
+	EDOALCell invcell = new EDOALCell( (String)null, (Expression)object2, (Expression)object1, (EDOALRelation)relation.inverse(), strength );
+	for ( Transformation trsf : transformations ) {
+	    invcell.addTransformation( trsf.inverse() );
+	}
 	// The same should be done for the measure
+	return invcell;
     }
 
 }
diff --git a/src/fr/inrialpes/exmo/align/impl/edoal/InstanceExpression.java b/src/fr/inrialpes/exmo/align/impl/edoal/InstanceExpression.java
index 0ae5e987..7845c8f0 100644
--- a/src/fr/inrialpes/exmo/align/impl/edoal/InstanceExpression.java
+++ b/src/fr/inrialpes/exmo/align/impl/edoal/InstanceExpression.java
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2006 Digital Enterprise Research Insitute (DERI) Innsbruck
  * Sourceforge version 1.4 - 2006
- * Copyright (C) INRIA, 2009
+ * Copyright (C) INRIA, 2009-2010
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -44,11 +44,6 @@ public class InstanceExpression extends Expression implements ValueExpression {
 
     /**
      * Creates a simple InstaneExpression with the given Id.
-     * 
-     * @param id
-     *            the Id of this expression
-     * @throws IllegalArgumentException
-     *             if the id isn't a InstanceId
      */
     public InstanceExpression() {
 	super();
diff --git a/src/fr/inrialpes/exmo/align/impl/edoal/InstanceId.java b/src/fr/inrialpes/exmo/align/impl/edoal/InstanceId.java
index df8d9073..d57c2269 100644
--- a/src/fr/inrialpes/exmo/align/impl/edoal/InstanceId.java
+++ b/src/fr/inrialpes/exmo/align/impl/edoal/InstanceId.java
@@ -50,10 +50,12 @@ public class InstanceId extends InstanceExpression implements Id {
     public InstanceId() {}
 
     /**
-     * Constructs a InstanceId.
+     * Constructs an InstanceId.
      * 
-     * @param id
-     *            the id of the class
+     * @param u
+     *            an URI of this instance
+     * @throws NullPointerException
+     *             u is null
      */
     public InstanceId( final URI u ) {
 	if ( u == null ) {
diff --git a/src/fr/inrialpes/exmo/align/impl/edoal/PathExpression.java b/src/fr/inrialpes/exmo/align/impl/edoal/PathExpression.java
index f94f7f66..afd4c724 100644
--- a/src/fr/inrialpes/exmo/align/impl/edoal/PathExpression.java
+++ b/src/fr/inrialpes/exmo/align/impl/edoal/PathExpression.java
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2006 Digital Enterprise Research Insitute (DERI) Innsbruck
  * Sourceforge version 1.5 - 2006
- * Copyright (C) INRIA, 2009
+ * Copyright (C) INRIA, 2009-2010
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -28,6 +28,7 @@ import org.semanticweb.owl.align.AlignmentException;
 import org.semanticweb.owl.align.AlignmentVisitor;
 import org.semanticweb.owl.align.Visitable;
 
+import fr.inrialpes.exmo.align.parser.TypeCheckingVisitor;
 
 /**
  * <p>
@@ -52,6 +53,10 @@ public abstract class PathExpression extends Expression implements Cloneable, Vi
     public void accept(AlignmentVisitor visitor) throws AlignmentException {
 	visitor.visit(this);
     }
+    public void accept(TypeCheckingVisitor visitor) throws AlignmentException {
+	visitor.visit(this);
+    }
+
     /*
     public Object clone() {
 	return super.clone();
diff --git a/src/fr/inrialpes/exmo/align/impl/edoal/PropertyDomainRestriction.java b/src/fr/inrialpes/exmo/align/impl/edoal/PropertyDomainRestriction.java
index 6389c1a4..df320e7e 100644
--- a/src/fr/inrialpes/exmo/align/impl/edoal/PropertyDomainRestriction.java
+++ b/src/fr/inrialpes/exmo/align/impl/edoal/PropertyDomainRestriction.java
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2006 Digital Enterprise Research Insitute (DERI) Innsbruck
  * Sourceforge version 1.4 - 2006 -- then DomainAttributeCondition.java
- * Copyright (C) INRIA, 2009
+ * Copyright (C) INRIA, 2009-2010
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -32,7 +32,6 @@ package fr.inrialpes.exmo.align.impl.edoal;
  * 
  * @author Richard Pöttler
  * @version $Revision: 1.4 $
- * @date $Date: 2010-03-07 20:40:05 +0100 (Sun, 07 Mar 2010) $
  * 
  */
 public class PropertyDomainRestriction extends PropertyRestriction {
@@ -41,8 +40,6 @@ public class PropertyDomainRestriction extends PropertyRestriction {
     /**
      * Constructs a domainRestiction with the given restriction.
      * 
-     * @param restriction
-     *            the restriction for the domain
      * @throws NullPointerException
      *             if the restriction is null
      */
@@ -53,14 +50,12 @@ public class PropertyDomainRestriction extends PropertyRestriction {
     /**
      * Constructs a domainRestiction with the given restriction.
      * 
-     * @param res
-     *            the restriction for the domain
-     * @param target
-     *            the target expression which should be restricted
+     * @param dom
+     *            the restricting class expression
      * @throws NullPointerException
      *             if the restriction is null
      */
-    public PropertyDomainRestriction(final ClassExpression dom) {
+    public PropertyDomainRestriction( final ClassExpression dom ) {
 	super();
 	domain = dom;
     }
diff --git a/src/fr/inrialpes/exmo/align/impl/edoal/PropertyExpression.java b/src/fr/inrialpes/exmo/align/impl/edoal/PropertyExpression.java
index d282b000..b13ff56f 100644
--- a/src/fr/inrialpes/exmo/align/impl/edoal/PropertyExpression.java
+++ b/src/fr/inrialpes/exmo/align/impl/edoal/PropertyExpression.java
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2006 Digital Enterprise Research Insitute (DERI) Innsbruck
  * Sourceforge version 1.7 - 2006 -- then AttributeExpr.java
- * Copyright (C) INRIA, 2009
+ * Copyright (C) INRIA, 2009-2010
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -40,28 +40,12 @@ import org.semanticweb.owl.align.Visitable;
  * @author Francois Scharffe, Adrian Mocan
  * @author richi
  * @version $Revision: 1.7 $
- * @date $Date: 2010-03-07 20:40:05 +0100 (Sun, 07 Mar 2010) $
  */
 
 public abstract class PropertyExpression extends PathExpression implements Cloneable, Visitable {
 
-    /** The transformation service */
-    private TransfService transf;
-
     /**
-     * Creates a simple PropertyExpression with the given ExpressionDefinition,
-     * conditions and transf.
-     * 
-     * @param id
-     *            the ExpressionDefinition
-     * @param conditions
-     *            the conditions for the expression
-     * @param transf
-     *            the transformation service
-     * @throws IllegalArgumentException
-     *             if there are other ids than PropertyId
-     * @throws NullPointerException
-     *             if the id is {@code null}
+     * Creates a simple PropertyExpression
      */
     public PropertyExpression() {
 	super();
diff --git a/src/fr/inrialpes/exmo/align/impl/edoal/PropertyId.java b/src/fr/inrialpes/exmo/align/impl/edoal/PropertyId.java
index 67ad461f..f828a1db 100644
--- a/src/fr/inrialpes/exmo/align/impl/edoal/PropertyId.java
+++ b/src/fr/inrialpes/exmo/align/impl/edoal/PropertyId.java
@@ -35,7 +35,6 @@ import java.net.URISyntaxException;
  * 
  * @author richi
  * @version $Revision: 1.7 $
- * @date $Date: 2010-03-07 20:40:05 +0100 (Sun, 07 Mar 2010) $
  */
 public class PropertyId extends PropertyExpression implements Id {
     /** Holds the identifier. */
diff --git a/src/fr/inrialpes/exmo/align/impl/edoal/PropertyTypeRestriction.java b/src/fr/inrialpes/exmo/align/impl/edoal/PropertyTypeRestriction.java
index 972c655a..ac1b137a 100644
--- a/src/fr/inrialpes/exmo/align/impl/edoal/PropertyTypeRestriction.java
+++ b/src/fr/inrialpes/exmo/align/impl/edoal/PropertyTypeRestriction.java
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2006 Digital Enterprise Research Insitute (DERI) Innsbruck
  * Sourceforge version 1.6 - 2006 -- then AttributeTypeCondition.java
- * Copyright (C) INRIA, 2009
+ * Copyright (C) INRIA, 2009-2010
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -40,16 +40,11 @@ package fr.inrialpes.exmo.align.impl.edoal;
  */
 public class PropertyTypeRestriction extends PropertyRestriction implements Cloneable {
 
-    // BEWARE THIS IS INCORRECTLY IMPLEMENTED AS VALUES INSTEAD OF TYPES
     Datatype type = null;
 
     /**
-     * Constructs a attributeTypeRestriction with the given restriction.
+     * Constructs a simple PropertyTypeRestriction
      * 
-     * @param attribute
-     *            the attribute on which the restriction should be applied
-     * @param restriction
-     *            the restriction for the domain
      * @throws NullPointerException
      *             if the restriction is null
      */
@@ -58,18 +53,14 @@ public class PropertyTypeRestriction extends PropertyRestriction implements Clon
     }
 
     /**
-     * Constructs a attributeTypeRestriction with the given restriction.
+     * Constructs a PropertyTypeRestriction with the given restriction.
      * 
-     * @param attribute
-     *            the attribute on which the restriction should be applied
-     * @param restriction
-     *            the restriction for the domain
-     * @param target
-     *            the target expression which should be restricted
+     * @param t
+     *            the restricting target datatype
      * @throws NullPointerException
      *             if the restriction is null
      */
-    public PropertyTypeRestriction(final Datatype t) {
+    public PropertyTypeRestriction( final Datatype t ) {
 	super();
 	type = t;
     }
diff --git a/src/fr/inrialpes/exmo/align/impl/edoal/PropertyValueRestriction.java b/src/fr/inrialpes/exmo/align/impl/edoal/PropertyValueRestriction.java
index 01960110..e20590fe 100644
--- a/src/fr/inrialpes/exmo/align/impl/edoal/PropertyValueRestriction.java
+++ b/src/fr/inrialpes/exmo/align/impl/edoal/PropertyValueRestriction.java
@@ -42,10 +42,8 @@ public class PropertyValueRestriction extends PropertyRestriction implements Clo
     ValueExpression value = null;
 
     /**
-     * Constructs a attributeValueRestriction with the given restriction.
+     * Constructs a simple PropertyValueRestriction
      * 
-     * @param attribute
-     *            the attribute on which the restriction should be applied
      * @throws NullPointerException
      *             if the restriction is null
      */
@@ -54,18 +52,16 @@ public class PropertyValueRestriction extends PropertyRestriction implements Clo
     }
 
     /**
-     * Constructs a attributeValueRestriction with the given restriction.
+     * Constructs a PropertyValueRestriction with the given restriction.
      * 
-     * @param attribute
-     *            the attribute on which the restriction should be applied
-     * @param restriction
-     *            the restriction for the domain
-     * @param target
-     *            the target expression which should be restricted
+     * @param comp
+     *            the comparator between the restricted property and the restricting value
+     * @param v
+     *            the target restricting value
      * @throws NullPointerException
      *             if the restriction is null
      */
-    public PropertyValueRestriction(final Comparator comp, final ValueExpression v) {
+    public PropertyValueRestriction( final Comparator comp, final ValueExpression v ) {
 	super();
 	comparator = comp;
 	value = v;
diff --git a/src/fr/inrialpes/exmo/align/impl/edoal/RelationCoDomainRestriction.java b/src/fr/inrialpes/exmo/align/impl/edoal/RelationCoDomainRestriction.java
index 15cb3b5a..649e3c3c 100644
--- a/src/fr/inrialpes/exmo/align/impl/edoal/RelationCoDomainRestriction.java
+++ b/src/fr/inrialpes/exmo/align/impl/edoal/RelationCoDomainRestriction.java
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2006 Digital Enterprise Research Insitute (DERI) Innsbruck
  * Sourceforge version 1.4 - 2006
- * Copyright (C) INRIA, 2009
+ * Copyright (C) INRIA, 2009-2010
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -33,7 +33,6 @@ package fr.inrialpes.exmo.align.impl.edoal;
  * 
  * @author Richard Pöttler
  * @version $Revision: 1.4 $
- * @date $Date: 2010-03-07 20:40:05 +0100 (Sun, 07 Mar 2010) $
  * 
  */
 public class RelationCoDomainRestriction extends RelationRestriction {
@@ -41,10 +40,8 @@ public class RelationCoDomainRestriction extends RelationRestriction {
     protected ClassExpression codomain = null; 
 
     /**
-     * Constructs a coDomainRestriction with the given restriction.
+     * Constructs a simple RelationCoDomainRestriction
      * 
-     * @param restriction
-     *            the restriction for the domain
      * @throws NullPointerException
      *             if the restriction is null
      */
@@ -53,16 +50,14 @@ public class RelationCoDomainRestriction extends RelationRestriction {
     }
     
     /**
-     * Constructs a coDomainRestriction with the given restriction.
+     * Constructs a RelationCoDomainRestriction with the given restriction.
      * 
-     * @param res
-     *            the restriction for the domain
-     * @param target
-     *            the target expression which should be restricted
+     * @param cod
+     *            the restricting target class expression as codomain
      * @throws NullPointerException
      *             if the restriction is null
      */
-    public RelationCoDomainRestriction(final ClassExpression cod) {
+    public RelationCoDomainRestriction( final ClassExpression cod ) {
 	super();
 	codomain = cod;
     }
diff --git a/src/fr/inrialpes/exmo/align/impl/edoal/RelationDomainRestriction.java b/src/fr/inrialpes/exmo/align/impl/edoal/RelationDomainRestriction.java
index 220749ed..b5620111 100644
--- a/src/fr/inrialpes/exmo/align/impl/edoal/RelationDomainRestriction.java
+++ b/src/fr/inrialpes/exmo/align/impl/edoal/RelationDomainRestriction.java
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2006 Digital Enterprise Research Insitute (DERI) Innsbruck
  * Sourceforge version 1.4 - 2006
- * Copyright (C) INRIA, 2009
+ * Copyright (C) INRIA, 2009-2010
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -32,17 +32,14 @@ package fr.inrialpes.exmo.align.impl.edoal;
  * 
  * @author Richard Pöttler
  * @version $Revision: 1.4 $
- * @date $Date: 2010-03-07 20:40:05 +0100 (Sun, 07 Mar 2010) $
  * 
  */
 public class RelationDomainRestriction extends RelationRestriction {
 
     private ClassExpression domain = null;
     /**
-     * Constructs a domainRestiction with the given restriction.
+     * Constructs a simple RelationDomainRestiction
      * 
-     * @param restriction
-     *            the restriction for the domain
      * @throws NullPointerException
      *             if the restriction is null
      */
@@ -51,12 +48,10 @@ public class RelationDomainRestriction extends RelationRestriction {
     }
 
     /**
-     * Constructs a domainRestiction with the given restriction.
+     * Constructs a RelationDomainRestiction with the given restriction.
      * 
-     * @param res
-     *            the restriction for the domain
-     * @param target
-     *            the target expression which should be restricted
+     * @param dom
+     *            the target restricting class expression to be taken as domain
      * @throws NullPointerException
      *             if the restriction is null
      */
diff --git a/src/fr/inrialpes/exmo/align/impl/edoal/Value.java b/src/fr/inrialpes/exmo/align/impl/edoal/Value.java
index 41738ef8..bb7305f8 100644
--- a/src/fr/inrialpes/exmo/align/impl/edoal/Value.java
+++ b/src/fr/inrialpes/exmo/align/impl/edoal/Value.java
@@ -40,7 +40,6 @@ import fr.inrialpes.exmo.align.parser.TypeCheckingVisitor;
  * 
  * @author richi
  * @version $Revision: 1.2 $
- * @date $Date: 2010-03-07 20:40:05 +0100 (Sun, 07 Mar 2010) $
  */
 public class Value implements ValueExpression { //implements Cloneable, Visitable {
 
diff --git a/src/fr/inrialpes/exmo/align/impl/edoal/Variable.java b/src/fr/inrialpes/exmo/align/impl/edoal/Variable.java
index 19087525..4b5bce10 100644
--- a/src/fr/inrialpes/exmo/align/impl/edoal/Variable.java
+++ b/src/fr/inrialpes/exmo/align/impl/edoal/Variable.java
@@ -37,10 +37,10 @@ public class Variable {
     private Set<Expression> occurences;
 
     /**
-     * Constructs a InstanceId.
+     * Constructs a Variable
      * 
-     * @param id
-     *            the id of the class
+     * @param name
+     *            the name of the variable
      */
     public Variable( final String name ) {
 	if ( name == null ) throw new NullPointerException("The name must not be null");
-- 
GitLab