org.jbind.xml.schema.constraint
Class Constraint

java.lang.Object
  extended byorg.jbind.xml.schema.constraint.Constraint
All Implemented Interfaces:
IConstraint, IHasLocation
Direct Known Subclasses:
IdentityConstraint

public abstract class Constraint
extends java.lang.Object
implements IConstraint


Constructor Summary
Constraint(IHasLocation aHasLocation)
           
 
Method Summary
 ILocation getLocation()
           
 boolean isFinal()
          Indicates if the constraint must not be further restricted.
 void setIsFinal(boolean aBoolean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jbind.xml.core.constraint.IConstraint
getConstraintType, globalCheck, isRestriction, localCheck
 

Constructor Detail

Constraint

public Constraint(IHasLocation aHasLocation)
Method Detail

isFinal

public boolean isFinal()
Description copied from interface: IConstraint
Indicates if the constraint must not be further restricted.

Specified by:
isFinal in interface IConstraint
Returns:
Returns true iff the constraint can not be restricted.

setIsFinal

public void setIsFinal(boolean aBoolean)

getLocation

public ILocation getLocation()
Specified by:
getLocation in interface IHasLocation