fr.inrialpes.exmo.align.impl.edoal
Class ClassOccurenceRestriction
java.lang.Object
fr.inrialpes.exmo.align.impl.edoal.Expression
fr.inrialpes.exmo.align.impl.edoal.ClassExpression
fr.inrialpes.exmo.align.impl.edoal.ClassRestriction
fr.inrialpes.exmo.align.impl.edoal.ClassOccurenceRestriction
- All Implemented Interfaces:
- Cloneable, Visitable
public class ClassOccurenceRestriction
- extends ClassRestriction
- implements Cloneable
Represents a attributeOccurenceRestriction tag for a ClassExpressions.
Created on 24-Mar-2005 Committed by $Author: poettler_ric $
$Id: ClassOccurenceRestriction.java,v 1.5 2006/11/15 16:01:17 poettler_ric
Exp $
- Version:
- $Revision: 1.6 $ $Date: 2010-03-07 20:40:05 +0100 (Sun, 07 Mar 2010) $
- Author:
- Francois Scharffe, Adrian Mocan, Richard Pöttler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
comparator
Comparator comparator
occurence
int occurence
ClassOccurenceRestriction
public ClassOccurenceRestriction(PathExpression p,
Comparator c,
int n)
- Constructs a attributeOccurenceRestriction with the given restriction.
- Parameters:
attribute
- the attribute on which the restriction should be appliedrestriction
- the restriction for the domain
- Throws:
NullPointerException
- if the restriction is null
getOccurence
public int getOccurence()
setOccurence
public void setOccurence(int n)
getComparator
public Comparator getComparator()
setComparator
public void setComparator(Comparator c)
(C) INRIA & friends, 2003-2010