/** * Validates the validateClassCode constraint of '<em>Assigned Entity</em>'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public boolean validateAssignedEntity_validateClassCode(AssignedEntity assignedEntity, DiagnosticChain diagnostics, Map<Object, Object> context) { return assignedEntity.validateClassCode(diagnostics, context); }
if ((node instanceof PatientRole && (((PatientRole) node).getAddrs().isEmpty() || ((PatientRole) node).getTelecoms().isEmpty())) || (node instanceof AssignedAuthor && (((AssignedAuthor) node).getAddrs().isEmpty() || ((AssignedAuthor) node).getTelecoms().isEmpty())) || (node instanceof AssignedEntity && (((AssignedEntity) node).getAddrs().isEmpty() || ((AssignedEntity) node).getTelecoms().isEmpty())) || (node instanceof AssociatedEntity && (((AssociatedEntity) node).getAddrs().isEmpty() || ((AssociatedEntity) node).getTelecoms().isEmpty()))) { hasErrors = true;
(node instanceof AssignedEntity && (((AssignedEntity) node).getAddrs().isEmpty() || ((AssignedEntity) node).getTelecoms().isEmpty())) || (node instanceof RelatedEntity && (((RelatedEntity) node).getAddrs().isEmpty() || ((RelatedEntity) node).getTelecoms().isEmpty())) || (node instanceof IntendedRecipient && (((IntendedRecipient) node).getAddrs().isEmpty() || ((IntendedRecipient) node).getTelecoms().isEmpty())) ||