Class OclValidator

  • All Implemented Interfaces:
    org.eclipse.emf.ecore.EValidator

    public class OclValidator
    extends java.lang.Object
    implements org.eclipse.emf.ecore.EValidator
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EValidator

        org.eclipse.emf.ecore.EValidator.Descriptor, org.eclipse.emf.ecore.EValidator.PatternMatcher, org.eclipse.emf.ecore.EValidator.Registry, org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider, org.eclipse.emf.ecore.EValidator.ValidationDelegate
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.eclipse.ocl.ecore.OCL ocl  
      protected java.net.URI source  
      • Fields inherited from interface org.eclipse.emf.ecore.EValidator

        MARKER, RELATED_URIS_ATTRIBUTE, URI_ATTRIBUTE
    • Constructor Summary

      Constructors 
      Constructor Description
      OclValidator​(java.net.URI source)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean validate​(org.eclipse.emf.ecore.EClass class1, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,​java.lang.Object> context)  
      boolean validate​(org.eclipse.emf.ecore.EDataType dataType, java.lang.Object value, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,​java.lang.Object> context)  
      boolean validate​(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,​java.lang.Object> context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • source

        protected java.net.URI source
      • ocl

        protected org.eclipse.ocl.ecore.OCL ocl
    • Constructor Detail

      • OclValidator

        public OclValidator​(java.net.URI source)
    • Method Detail

      • validate

        public boolean validate​(org.eclipse.emf.ecore.EObject object,
                                org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                java.util.Map<java.lang.Object,​java.lang.Object> context)
        Specified by:
        validate in interface org.eclipse.emf.ecore.EValidator
      • validate

        public boolean validate​(org.eclipse.emf.ecore.EClass class1,
                                org.eclipse.emf.ecore.EObject object,
                                org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                java.util.Map<java.lang.Object,​java.lang.Object> context)
        Specified by:
        validate in interface org.eclipse.emf.ecore.EValidator
      • validate

        public boolean validate​(org.eclipse.emf.ecore.EDataType dataType,
                                java.lang.Object value,
                                org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                java.util.Map<java.lang.Object,​java.lang.Object> context)
        Specified by:
        validate in interface org.eclipse.emf.ecore.EValidator