package OntoUML.diagram.part;
import org.eclipse.core.expressions.PropertyTester;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
/**
* @generated
*/
public class OntoUMLDomainModelElementTester extends PropertyTester {
/**
* @generated
*/
public boolean test(Object receiver, String method, Object[] args,
Object expectedValue) {
if (false == receiver instanceof EObject) {
return false;
}
EObject eObject = (EObject) receiver;
EClass eClass = eObject.eClass();
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getAntiRigidMixinClass()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE
.getAntiRigidSortalClass()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getAssociation()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getCategory()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getCharacterization()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getClass_()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getClassifier()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getCollective()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getcomponentOf()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getContainer()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getDatatype()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE
.getDatatypeRelationship()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE
.getDependencyRelationship()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getDerivation()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE
.getDirectedBinaryRelationship()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE
.getDirectedRelationship()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getElement()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getFeature()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getFormalAssociation()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getGeneralization()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getGeneralizationSet()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getKind()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getMaterialAssociation()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getMediation()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getmemberOf()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getMeronymic()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getMixin()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getMixinClass()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getMode()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getMomentClass()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getMultiplicityElement()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getNamedElement()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getNonRigidMixinClass()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getObjectClass()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getPhase()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getProperty()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getQuantity()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getRedefinableElement()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE
.getRelationalClassifier()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getRelationship()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getRelator()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getRigidMixinClass()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getRigidSortalClass()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getRole()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getRoleMixin()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getSemiRigidMixin()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getSimpleDatatype()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getSortalClass()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getStructuralDatatype()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getStructuralFeature()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getsubCollectionOf()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getSubKind()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getsubQuantityOf()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getSubstanceSortal()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getType()) {
return true;
}
if (eClass == OntoUML.OntoUMLPackage.eINSTANCE.getTypedElement()) {
return true;
}
return false;
}
}