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

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

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.RelationExpression
              extended by fr.inrialpes.exmo.align.impl.edoal.RelationRestriction
                  extended by fr.inrialpes.exmo.align.impl.edoal.RelationCoDomainRestriction
All Implemented Interfaces:
ValueExpression, Cloneable, Visitable

public class RelationCoDomainRestriction
extends RelationRestriction

Represents a coDomainRestriction tag for RelationExpressions.

$Id: RelationCoDomainRestriction.java,v 1.3 2006/11/15 16:01:17 poettler_ric Exp $

Version:
$Revision: 1.4 $
Author:
Richard Pöttler

Field Summary
protected  ClassExpression codomain
           
 
Fields inherited from class fr.inrialpes.exmo.align.impl.edoal.Expression
variable
 
Constructor Summary
RelationCoDomainRestriction()
          Constructs a simple RelationCoDomainRestriction
RelationCoDomainRestriction(ClassExpression cod)
          Constructs a RelationCoDomainRestriction with the given restriction.
 
Method Summary
 ClassExpression getCoDomain()
           
 
Methods inherited from class fr.inrialpes.exmo.align.impl.edoal.RelationRestriction
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

codomain

protected ClassExpression codomain
Constructor Detail

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
Method Detail

getCoDomain

public ClassExpression getCoDomain()

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

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