org.eclipse.ocl.examples.pivot.validation
Class PathConstraintParser.PathConstraint

java.lang.Object
  extended by org.eclipse.ocl.examples.pivot.validation.PathConstraintParser.PathConstraint
All Implemented Interfaces:
org.eclipse.emf.validation.model.IModelConstraint
Enclosing class:
PathConstraintParser

public static class PathConstraintParser.PathConstraint
extends java.lang.Object
implements org.eclipse.emf.validation.model.IModelConstraint


Field Summary
 
Fields inherited from interface org.eclipse.emf.validation.model.IModelConstraint
STATUS_CODE_SUCCESS
 
Constructor Summary
PathConstraintParser.PathConstraint(org.eclipse.emf.validation.service.IParameterizedConstraintDescriptor descriptor)
           
 
Method Summary
 org.eclipse.emf.validation.service.IConstraintDescriptor getDescriptor()
           
 org.eclipse.core.runtime.IStatus validate(org.eclipse.emf.validation.IValidationContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathConstraintParser.PathConstraint

public PathConstraintParser.PathConstraint(@NonNull
                                           org.eclipse.emf.validation.service.IParameterizedConstraintDescriptor descriptor)
Method Detail

getDescriptor

public org.eclipse.emf.validation.service.IConstraintDescriptor getDescriptor()
Specified by:
getDescriptor in interface org.eclipse.emf.validation.model.IModelConstraint

validate

public org.eclipse.core.runtime.IStatus validate(org.eclipse.emf.validation.IValidationContext ctx)
Specified by:
validate in interface org.eclipse.emf.validation.model.IModelConstraint