fr.inrialpes.exmo.align.impl.edoal
Class RelationCoDomainRestriction
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.RelationCoDomainRestriction
- All Implemented Interfaces:
- ValueExpression, Cloneable
public class RelationCoDomainRestriction
- extends RelationRestriction
Represents a coDomainRestriction tag for RelationExpressions.
- Version:
- $Id: RelationCoDomainRestriction.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 |
codomain
protected ClassExpression codomain
RelationCoDomainRestriction
public RelationCoDomainRestriction()
- Constructs a simple RelationCoDomainRestriction
- Throws:
NullPointerException
- if the restriction is null
RelationCoDomainRestriction
public RelationCoDomainRestriction(ClassExpression cod)
- Constructs a RelationCoDomainRestriction with the given restriction.
- Parameters:
cod
- the restricting target class expression as codomain
- 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
getCoDomain
public ClassExpression getCoDomain()
(C) INRIA & friends, 2003-2014