fr.inrialpes.exmo.align.impl.edoal
Class PropertyValueRestriction
java.lang.Object
fr.inrialpes.exmo.align.impl.edoal.Expression
fr.inrialpes.exmo.align.impl.edoal.PathExpression
fr.inrialpes.exmo.align.impl.edoal.PropertyExpression
fr.inrialpes.exmo.align.impl.edoal.PropertyRestriction
fr.inrialpes.exmo.align.impl.edoal.PropertyValueRestriction
- All Implemented Interfaces:
- ValueExpression, Cloneable
public class PropertyValueRestriction
- extends PropertyRestriction
- implements Cloneable
Represents a attributeValueRestriction tag for a ClassExpressions.
Created on 24-Mar-2005 Committed by $Author: poettler_ric $
- Version:
- $Id: PropertyValueRestriction.java 1710 2012-03-23 19:53:25Z euzenat $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
comparator
Comparator comparator
value
ValueExpression value
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 valuev
- the target restricting value
- Throws:
NullPointerException
- if the restriction is null
accept
public void accept(EDOALVisitor visitor)
throws AlignmentException
- Specified by:
accept
in interface ValueExpression
- Specified by:
accept
in class Expression
- Throws:
AlignmentException
accept
public TypeCheckingVisitor.TYPE accept(TypeCheckingVisitor visitor)
throws AlignmentException
- Specified by:
accept
in interface ValueExpression
- 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)
(C) INRIA & friends, 2003-2013