fr.inrialpes.exmo.align.impl.edoal
Class RelationDomainRestriction
java.lang.Object
fr.inrialpes.exmo.align.impl.edoal.Expression
fr.inrialpes.exmo.align.impl.edoal.PathExpression
fr.inrialpes.exmo.align.impl.edoal.RelationExpression
fr.inrialpes.exmo.align.impl.edoal.RelationRestriction
fr.inrialpes.exmo.align.impl.edoal.RelationDomainRestriction
- All Implemented Interfaces:
- ValueExpression, Cloneable, Visitable
public class RelationDomainRestriction
- extends RelationRestriction
Represents a domainRestriction tag for RelationExpressions.
$Id: RelationDomainRestriction.java 1311 2010-03-07 22:51:10Z euzenat $
- Version:
- $Revision: 1.4 $
- Author:
- Richard Pöttler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
domain
private ClassExpression domain
RelationDomainRestriction
public RelationDomainRestriction()
- Constructs a domainRestiction with the given restriction.
- Parameters:
restriction
- the restriction for the domain
- Throws:
NullPointerException
- if the restriction is null
RelationDomainRestriction
public RelationDomainRestriction(ClassExpression dom)
- Constructs a domainRestiction with the given restriction.
- Parameters:
res
- the restriction for the domaintarget
- the target expression which should be restricted
- Throws:
NullPointerException
- if the restriction is null
getDomain
public ClassExpression getDomain()
getDomain
public void getDomain(ClassExpression dom)
(C) INRIA & friends, 2003-2010