Alignment API and Server 4.5 (1846M)

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

java.lang.Object
  extended by fr.inrialpes.exmo.align.impl.edoal.Expression
      extended by fr.inrialpes.exmo.align.impl.edoal.ClassExpression
          extended by fr.inrialpes.exmo.align.impl.edoal.ClassRestriction
              extended by fr.inrialpes.exmo.align.impl.edoal.ClassValueRestriction
All Implemented Interfaces:
Cloneable

public class ClassValueRestriction
extends ClassRestriction
implements Cloneable

Represents a type valueCondition tag for PropertyExpressions.

Created on 24-Mar-2005 Committed by $Author: poettler_ric $

Version:
$Id: ClassValueRestriction.java 1710 2012-03-23 19:53:25Z euzenat $

Field Summary
(package private)  Comparator comparator
           
(package private)  ValueExpression value
           
 
Fields inherited from class fr.inrialpes.exmo.align.impl.edoal.ClassRestriction
constrainedPath
 
Fields inherited from class fr.inrialpes.exmo.align.impl.edoal.Expression
variable
 
Constructor Summary
ClassValueRestriction(PathExpression p, Comparator comp, ValueExpression v)
          Constructs a ClassValueRestriction with the given restriction.
 
Method Summary
 void accept(EDOALVisitor visitor)
           
 TypeCheckingVisitor.TYPE accept(TypeCheckingVisitor visitor)
           
 Comparator getComparator()
           
 ValueExpression getValue()
           
 void setComparator(Comparator comp)
           
 void setValue(ValueExpression v)
           
 
Methods inherited from class fr.inrialpes.exmo.align.impl.edoal.ClassRestriction
getRestrictionPath, setRestrictionPath
 
Methods inherited from class fr.inrialpes.exmo.align.impl.edoal.Expression
getVariable, setVariable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

comparator

Comparator comparator

value

ValueExpression value
Constructor Detail

ClassValueRestriction

public ClassValueRestriction(PathExpression p,
                             Comparator comp,
                             ValueExpression v)
Constructs a ClassValueRestriction with the given restriction.

Parameters:
p - the restricted PathExpression
comp - the Comparator defining the restriction
v - the ValueExpression to which it is restricted
Throws:
NullPointerException - if the restriction is null
Method Detail

accept

public void accept(EDOALVisitor visitor)
            throws AlignmentException
Specified by:
accept in class Expression
Throws:
AlignmentException

accept

public TypeCheckingVisitor.TYPE accept(TypeCheckingVisitor visitor)
                                throws AlignmentException
Specified by:
accept in class Expression
Throws:
AlignmentException

getComparator

public Comparator getComparator()

setComparator

public void setComparator(Comparator comp)

getValue

public ValueExpression getValue()

setValue

public void setValue(ValueExpression v)

Alignment API and Server 4.5 (1846M)

(C) INRIA & friends, 2003-2013