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

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

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.RelationDomainRestriction
All Implemented Interfaces:
ValueExpression, Cloneable, Visitable

public class RelationDomainRestriction
extends RelationRestriction

Represents a domainRestriction tag for RelationExpressions.

$Id: RelationDomainRestriction.java 1435 2010-04-24 17:38:45Z euzenat $

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

Field Summary
private  ClassExpression domain
           
 
Fields inherited from class fr.inrialpes.exmo.align.impl.edoal.Expression
variable
 
Constructor Summary
RelationDomainRestriction()
          Constructs a simple RelationDomainRestiction
RelationDomainRestriction(ClassExpression dom)
          Constructs a RelationDomainRestiction with the given restriction.
 
Method Summary
 ClassExpression getDomain()
           
 void getDomain(ClassExpression dom)
           
 
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

domain

private ClassExpression domain
Constructor Detail

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

getDomain

public ClassExpression getDomain()

getDomain

public void getDomain(ClassExpression dom)

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

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