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

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

java.lang.Object
  extended by fr.inrialpes.exmo.align.impl.edoal.Expression
      extended by fr.inrialpes.exmo.align.impl.edoal.PathExpression
          extended by fr.inrialpes.exmo.align.impl.edoal.PropertyExpression
              extended by fr.inrialpes.exmo.align.impl.edoal.PropertyRestriction
                  extended by fr.inrialpes.exmo.align.impl.edoal.PropertyValueRestriction
All Implemented Interfaces:
ValueExpression, Cloneable, Visitable

public class PropertyValueRestriction
extends PropertyRestriction
implements Cloneable

Represents a attributeValueRestriction tag for a ClassExpressions.

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

$Id: PropertyValueRestriction.java 1435 2010-04-24 17:38:45Z euzenat $

Version:
$Revision: 1.6 $ $Date: 2010-03-07 20:40:05 +0100 (Sun, 07 Mar 2010) $
Author:
Francois Scharffe, Adrian Mocan, Richard Pöttler

Field Summary
(package private)  Comparator comparator
           
(package private)  ValueExpression value
           
 
Fields inherited from class fr.inrialpes.exmo.align.impl.edoal.Expression
variable
 
Constructor Summary
PropertyValueRestriction()
          Constructs a simple PropertyValueRestriction
PropertyValueRestriction(Comparator comp, ValueExpression v)
          Constructs a PropertyValueRestriction with the given restriction.
 
Method Summary
 Comparator getComparator()
           
 ValueExpression getValue()
           
 void setComparator(Comparator comp)
           
 void setValue(ValueExpression v)
           
 
Methods inherited from class fr.inrialpes.exmo.align.impl.edoal.PropertyRestriction
accept
 
Methods inherited from class fr.inrialpes.exmo.align.impl.edoal.PathExpression
accept
 
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

PropertyValueRestriction

public PropertyValueRestriction()
Constructs a simple PropertyValueRestriction

Throws:
NullPointerException - if the restriction is null

PropertyValueRestriction

public PropertyValueRestriction(Comparator comp,
                                ValueExpression v)
Constructs a PropertyValueRestriction with the given restriction.

Parameters:
comp - the comparator between the restricted property and the restricting value
v - the target restricting value
Throws:
NullPointerException - if the restriction is null
Method Detail

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.1.${version.update}

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