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
public class RelationDomainRestriction
- extends RelationRestriction
Represents a domainRestriction tag for RelationExpressions.
- Version:
- $Id: RelationDomainRestriction.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 |
domain
private ClassExpression domain
RelationDomainRestriction
public RelationDomainRestriction()
- Constructs a simple RelationDomainRestiction
- Throws:
NullPointerException
- if the restriction is null
RelationDomainRestriction
public RelationDomainRestriction(ClassExpression dom)
- Constructs a RelationDomainRestiction with the given restriction.
- Parameters:
dom
- the target restricting class expression to be taken as domain
- 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
getDomain
public ClassExpression getDomain()
getDomain
public void getDomain(ClassExpression dom)
(C) INRIA & friends, 2003-2013