org.eclipse.ocl.examples.pivot.validation
Class LoadableConstraintDescriptor.UML

java.lang.Object
  extended by org.eclipse.emf.validation.service.AbstractConstraintDescriptor
      extended by org.eclipse.ocl.examples.pivot.validation.LoadableConstraintDescriptor<org.eclipse.uml2.uml.Stereotype>
          extended by org.eclipse.ocl.examples.pivot.validation.LoadableConstraintDescriptor.UML
All Implemented Interfaces:
org.eclipse.emf.validation.model.IModelConstraint, org.eclipse.emf.validation.service.IConstraintDescriptor
Enclosing class:
LoadableConstraintDescriptor<T>

public static class LoadableConstraintDescriptor.UML
extends LoadableConstraintDescriptor<org.eclipse.uml2.uml.Stereotype>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.ocl.examples.pivot.validation.LoadableConstraintDescriptor
LoadableConstraintDescriptor.Ecore, LoadableConstraintDescriptor.UML
 
Field Summary
 
Fields inherited from class org.eclipse.ocl.examples.pivot.validation.LoadableConstraintDescriptor
targetType
 
Fields inherited from interface org.eclipse.emf.validation.model.IModelConstraint
STATUS_CODE_SUCCESS
 
Constructor Summary
LoadableConstraintDescriptor.UML(org.eclipse.uml2.uml.Stereotype targetType, Constraint constraint, int code)
           
 
Method Summary
protected  boolean isKindOf(java.lang.String nsURI, java.lang.String name, org.eclipse.emf.ecore.EClass eClass)
           
 boolean targetsTypeOf(org.eclipse.emf.ecore.EObject eObject)
           
 
Methods inherited from class org.eclipse.ocl.examples.pivot.validation.LoadableConstraintDescriptor
getBody, getDescription, getEvaluationMode, getId, getMessagePattern, getName, getPluginId, getSeverity, getStatusCode, targetsEvent, validate
 
Methods inherited from class org.eclipse.emf.validation.service.AbstractConstraintDescriptor
addCategory, equals, getCategories, getDescriptor, getException, hashCode, isBatch, isEnabled, isError, isLive, removeCategory, setEnabled, setError, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.validation.model.IModelConstraint
getDescriptor
 

Constructor Detail

LoadableConstraintDescriptor.UML

public LoadableConstraintDescriptor.UML(@NonNull
                                        org.eclipse.uml2.uml.Stereotype targetType,
                                        @NonNull
                                        Constraint constraint,
                                        int code)
Method Detail

isKindOf

protected boolean isKindOf(@NonNull
                           java.lang.String nsURI,
                           @NonNull
                           java.lang.String name,
                           org.eclipse.emf.ecore.EClass eClass)

targetsTypeOf

public boolean targetsTypeOf(org.eclipse.emf.ecore.EObject eObject)